[Collapse] Transition Breaks Inside Popover
See original GitHub issue- I have searched the issues of this repository and believe that this is not a duplicate.
Expected Behavior
Unless I’m missing something, the Collapse transition should work as part of a Menu/Popover like the rest of the transitions.
Current Behavior
When setting Collapse as the TransitionComponent, the Menu/Popover contents appear at 0,0 and there is no animation.
Steps to Reproduce (for bugs)
This can be seen by adding TransitionComponent={Collapse}
to the Menu demo.
~https://codesandbox.io/s/pxv0jkq3x~ Edit @eps1lon: https://codesandbox.io/s/menu-collapse-iliwj
Your Environment
Tech | Version |
---|---|
Material-UI | v1.0.0-beta.47 |
React | 16.3.2 |
browser | Chrome/Firefox tested. |
Issue Analytics
- State:
- Created 5 years ago
- Reactions:23
- Comments:15 (8 by maintainers)
Top Results From Across the Web
[Collapse] Transition Breaks Inside Popover · Issue #11337
When setting Collapse as the TransitionComponent, the Menu/Popover contents appear at 0,0 and there is no animation. Steps to Reproduce (for ...
Read more >Is there a way to use <Collapse> as my Transition ...
You can try to use the TransitionProps given by the Popper when using the transition props, as shown in the documentation
Read more >Theme overwrites and breaks .popover method
For a advanced feature I was looking to add the bootstrap popup functionality in a single page. The code looks like this: $(function...
Read more >Popovers · Bootstrap v5.0
Popovers can be triggered thanks to an element inside a shadow DOM. ... The animation effect of this component is dependent on the...
Read more >Overlays | React-Bootstrap
The <Tooltip> and <Popover> components do not position themselves. Instead the <Overlay> (or <OverlayTrigger> ) components, inject ref and style props. Tooltip ......
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@oliviertassinari @nathanmarks I am also running into this issue (or at least a related issue). I am unable to use the
<Collapse>
component within the<Popper>
component. (The rest of the thread is about the<Popover>
component). Has there been any progress made to fix this or known workarounds?If there is some hope that Popover will support Collapse as a TransitionComponent?