Steps to reproduce:
- load page with sticky table header
- scroll down to see sticky tableheader
- run js code Drupal.attachBehaviors(<some html element>)
;
Now sticky tableheader is visible always and does not disappear on scroll
Comment | File | Size | Author |
---|---|---|---|
#4 | 1236636_tableheader.js_.patch | 1.15 KB | vectoroc |
#1 | 1236636_tableheader.js_.patch | 1.05 KB | vectoroc |
Comments
Comment #1
vectoroc CreditAttribution: vectoroc commentedI noticed this happens because
Drupal.behaviors.tableHeader
overwritesDrupal.tableHeaderOnScroll
function withheaders
variablepatch makes
headers
variable incrementalComment #2
vectoroc CreditAttribution: vectoroc commentedComment #4
vectoroc CreditAttribution: vectoroc commentedComment #5
vectoroc CreditAttribution: vectoroc commentedComment #6
andypostIt seems 7.x affected too, so we need to fix this in current (8.x) first then backport
trailing whitespace
Comment #7
nod_Doesn't happen on 8.x
Comment #7.0
nod_wrapped code with
tag
Comment #8
vectoroc CreditAttribution: vectoroc commented