Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Javascript Error on Popover: Uncaught (in promise) DOMException: The user aborted a request #247

Open
Allerby opened this issue Aug 9, 2024 · 1 comment
Labels
help wanted Extra attention is needed

Comments

@Allerby
Copy link

Allerby commented Aug 9, 2024

First off, thanks for all your amazing work to build and support this Gem, its been a massive boon scaffolding out my recent project. I saw this issue pop up when trying to integrate popovers into my app.

Repro Steps

Create new app:

rails new modal_stimulus --css tailwind --skip-action-mailbox --skip-jbuilder -j esbuild

Scaffold a model:

rails generate scaffold post title:string

Add the package:

yarn add tailwindcss-stimulus-components

Change root route to posts:

root "posts#index"

Chuck in our popover from the docs

When you mouseover the 'Hover me' text, if you move your mouse over the popover you'll see the exceptions in the console.

2024-08-09 14 57 21

@excid3
Copy link
Owner

excid3 commented Sep 11, 2024

Yeah, not sure exactly what's wrong in transition.js. If anyone figures it out, PRs welcome!

Once CSS anchor positioning is widely available, we can drop this whole JS controller hopefully.

@excid3 excid3 added the help wanted Extra attention is needed label Sep 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants