-
Notifications
You must be signed in to change notification settings - Fork 6.7k
Prevent collapsed style overflow: hidden from obscuring the typeahead co... #994
Conversation
I would suggest not passing the 'isCollapsed' state, but instead checking That said, this is sort of a part of what I'm doing in #934 and I'd appreciate any comments you might have there (currently it depends on #991 to have not-broken behaviour in FF4-16 and possibly other browsers ._., and still needs the test suite to be updated, and perhaps could be made slightly more concise). I'm all ears if you have any ideas. |
@caitp Didn't know about the possible loss of sync between the states but seems like that might be a separate bug from this issue? Using hasClass everywhere pushes our source of truth into the DOM though which feels wrong to me. I like to keep the source of truth in the javascript model. Is using the DOM as the source the preferred way in angular-ui? If so I'll gladly send an updated patch. |
Because the code currently supports cancellation of transitions (this is a bug, as far as TWBS compat is concerned), you can have situations where this will result in incorrect behaviour. Removing cancellation would fix this, sort of, but all of these things are sort of tied into #1001 and solving the collapse transition stuff. |
What is the status on this pull request? |
#1001 has a working collapse with strong cross-browser support/testing, which is awaiting review (but has been used in a few production apps, at least). It's been a while since I've looked at it, so I could probably get a fresh perspective on it if I took a look at it now. But self-review doesn't mean a whole lot, so that's a thing. Looks like this one hasn't received a proper look either. Anyways, this is for the master branch and not bootstrap_bis2, so I guess if this makes BS2.3 happier, that's awesome. |
@johnklehm hmm, just looked into it and Bootstrap, in 2.3, is not removing the @caitp it looks like the logic in 2.3 and 3.0 is different, 3.0 is using additional |
Alternative solution: #828 |
It was fixed in master via 9eca35a. The idea is to add the |
Thanks! |
...ntrol's suggestion popup. I ran into the issue after having a typeahead control as a child of a div that could be collapsed.