#9264 closed bug (fixed)
Accordion: heightStyle: 'auto' has problems with parent div width and box-sizing
Reported by: | EleventyOne | Owned by: | |
---|---|---|---|
Priority: | minor | Milestone: | 1.11.4 |
Component: | ui.accordion | Version: | 1.10.2 |
Keywords: | Cc: | ||
Blocked by: | Blocking: |
Description
I'm using Firefox 20.0.1 on Win 7 64. There appears to be two problems with the accordion widget, when heightStyle : 'auto':
(1) If a parent div has a width set, 'auto' seems unable to properly calculate the height of certain accordion tabs.
(2) If box-sizing: border-box is set, there is a nasty "snap" to the accordion tabs at the end of their being displayed.
If you change heightStyle to 'content', both problems disappear.
This problem is demonstrated here:
And was asked about on StackOverflow here:
http://stackoverflow.com/questions/16307541/jquery-ui-accordion-and-box-sizing-border-box
Change History (6)
comment:1 Changed 10 years ago by
Status: | new → open |
---|---|
Summary: | Accordion - heightStyle: 'auto' has problems with parent div width and box-sizing → Accordion: heightStyle: 'auto' has problems with parent div width and box-sizing |
comment:3 Changed 9 years ago by
Resolution: | → fixed |
---|---|
Status: | open → closed |
Accordion: Handle box-sizing: border-box
in animations
Fixes #9264 Closes gh-1287 Closes gh-1459
Changeset: 4b017b414f107ed3c1dafc7601b61cbcd76acf61
comment:4 Changed 9 years ago by
Milestone: | none → 1.12.0 |
---|
comment:5 Changed 9 years ago by
Accordion: Handle box-sizing: border-box
in animations
Fixes #9264 Closes gh-1287 Closes gh-1459 (cherry picked from commit 4b017b414f107ed3c1dafc7601b61cbcd76acf61)
Changeset: de75b40835ecb82360321dafbd87d66db5404a4a
comment:6 Changed 9 years ago by
Milestone: | 1.12.0 → 1.11.4 |
---|
Confirmed both. This should probably be split into two separate bugs but I'm going to dig into this a bit first.