[preact/compat] causes page to stuck when rendering radix-ui Dialog
See original GitHub issue- Check if updating to the latest Preact version resolves the issue (tested, it doesn’t resolve the issue)
Describe the bug
When using preact/compat with radix-ui, rendering Dialog.Content
would cause the page to stuck indefinitely.
To Reproduce
Open this stackblitz project, and click on the “Trigger” button to open the Dialog
. The page should now be unresponsive.
Steps to reproduce the behavior:
- Go to https://stackblitz.com/edit/nextjs-preact-webpack5-odz79y?file=components/Dialog.js
- Click on the “Trigger” button to open the
Dialog
component - The page should now be unresponsive.
Expected behavior The same code works with React. The expectation is that it also works with preact/compat.
Issue Analytics
- State:
- Created 2 years ago
- Reactions:7
- Comments:5 (2 by maintainers)
Top Results From Across the Web
Benjamin Bock on Twitter: "I wanted to give @radix_ui a try, but it ...
Bug report Current Behavior Dialog opens fine when using React, ... [preact/compat] causes page to stuck when rendering radix-ui Dialog · Issue #3297...
Read more >Dialog - Radix UI
A window overlaid on either the primary window or another dialog window, rendering the content ... Contains content to be rendered in the...
Read more >@radix-ui/dialog - Preact - CodeSandbox
import { render } from "preact";. import * as Dialog from "@radix-ui/react-dialog";. const App = () => (. <Dialog.Root>. <Dialog.Trigger asChild>.
Read more >wordlist ranked - Massachusetts Institute of Technology
... your all have new more an was we will home can us about if page my has no ... tc fusion indicator...
Read more >bing.txt - FTP Directory Listing
... c 3443499 channel 3443499 canada 3443499 used 3411929 password 3365116 insurance 3357376 page 3357376 about 3341950 microsoft 3341950 people 3341950 go ...
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
Fixed in 10.10.1 https://stackblitz.com/edit/nextjs-preact-webpack5-dmpk3a?file=package.json
We ran into this problem when using react-bootstrap, too. @JoviDeCroock If synthetic events are not to be implemented: is there an alternative?