Closed JakobOffersen closed 1 year ago
@JakobOffersen Thank you, will check within this week.
Thanks, @roman-rr ! Is there anything specific I can assist you with on this one?
Hello @JakobOffersen sorry for delay. Same as #169
Remove options parentElement: "body"
from your config or change to parentElement: "#__next"
.
I believe that react doesn't propagate events outside of main application container.
Describe the bug Buttons within the
CupertinoPane
don't triggeronClick
once clicked.To Reproduce Steps to reproduce the behavior:
npm install
npm run dev
localhost:3000
.Expected behavior Buttons within the
CupertinoPane
should triggeronClick
once clicked.Screenshots Not applicable
Desktop (please complete the following information):
Additional context It seems like events are not propagated, however, the button "click"-animation still triggers when one clicks the inner button. I've also tried to set
preventClicks
to false andtouchMoveStopPropagation
to true without luck.It might well be that I have misunderstood the docs and I've overseen something obvious.. If so, I apologise for opening an issue.