Skip to content
This repository has been archived by the owner on Dec 16, 2021. It is now read-only.

React bootstrap PanelGroup accordion header disappear on click. #411

Open
uuuchit opened this issue Aug 3, 2017 · 1 comment
Open

React bootstrap PanelGroup accordion header disappear on click. #411

uuuchit opened this issue Aug 3, 2017 · 1 comment

Comments

@uuuchit
Copy link

uuuchit commented Aug 3, 2017

Using preact and preact-compat to a react app where react bootstrap was working fine. When switched to preact, panelgroup accordin started showing bug. When we click on panel header/heading it disappears and further toggle is not possible though panel body works fine.
there were other error regarding refs in preact@8.2.* .. so i switched back to preact@8.1.0 but above error is still there.
I think this may be due to preact-compat.
I have reproduced error in a git repo.
https://github.com/uuuchit/panel/blob/master/app/components/About.js

@developit
Copy link
Member

Likely due to events firing within a render.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants