Closed (fixed)
Project:
Drupal core
Version:
8.0.x-dev
Component:
javascript
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
1 Oct 2013 at 11:42 UTC
Updated:
29 Jul 2014 at 22:59 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
wim leersI did manual testing for this. Not only do vertical tabs look broken on mobile devices, they actually break the styling of everything else on the page as well!
Everything that looked strange at first to me in this patch turned out to be correct and essential.
Comment #2
webchickWow, that does indeed look much nicer. :)
Huh. I had no idea that was valid HTML. Go HTML5, I guess. :)
Committed and pushed to 8.x. Thanks!
Comment #3
webchickComment #4
wim leersSadly, this patch had an interesting side-effect that we all forgot to consider.
filter.admin.jscalledtabHide()on the vertical tab containing the filter settings for any filter that is disabled. (AndtabShow()when it gets enabled.)Because the Vertical Tabs JS is no longer run at all on mobile devices, this also *breaks* on mobile devices.
Comment #5
nod_It was already the case before. The killswitch for mobile hasn't been introduced by this patch.
Comment #6
wim leersIndeed, I just realized that too. Opened a new issue to fix it, includes a patch: #2108955: Settings for disabled filters are not hidden in narrow viewports, because Vertical Tabs are disabled in narrow viewports.
Sorry for inappropriately reopening this issue.