-
Notifications
You must be signed in to change notification settings - Fork 62
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
scrollable modal opens at the end of the page #1302
Comments
@DonCamillo11 I think this is similar to #854 Have a look at this as a workaround: #854 (comment) |
@jeffchown Oh thanks, I didn't see that. |
@jeffchown tried the workaround with a hidden input field, but doesn’t seem to work in my case. I played around and found out that an empty link at the beginning works so far |
@DonCamillo11 Great! Exactly what I was going to suggest. I changed your heading div to:
|
@DonCamillo11 thanks for reporting and the help @jeffchown! I'm going to close this as it's a duplicate of #854. If you could add a comment to that issue and mention your work around, that'd be great, thanks! |
Flux version
v1.1.6
Livewire version
v3.6.1
Tailwind version
v3.4.13
Browser and Operating System
Safari on macOS
What is the problem?
If a modal contains so much text that it needs to be scrolled and there is a link or button at the bottom, the focus jumps to it and the page is displayed from the bottom.
Code snippets
How do you expect it to work?
The modal should open from the top.
Please confirm (incomplete submissions will not be addressed)
The text was updated successfully, but these errors were encountered: