F
Filament2mo ago
nathan

modal scroll bug - can't select text and jumps to top when clicked.

I have a relation manager displaying a table with an action that will open that record's details in a modal window when clicked. That modal scrolls correctly. However, I'm unable to select any text in the modal window and after scrolling down a bit, when I click, it jumps me to the top of the modal window. I've gone through and removed all the infolist elements so it's a single modal window with a little bit of text. I can't double-click and select any text and it jumps to the top of the modal window when I click.
9 Replies
nathan
nathan2mo ago
By the way, I've tried the sliding modal window and the default one and both have the same results. Bump.... Any thoughts?
toeknee
toeknee2mo ago
Is this in the resource view?
nathan
nathan2mo ago
Yes. The action for the modal window is a Tables\Actions\ViewAction So, when they click on a row in the resource table, it slides out a modal window.
toeknee
toeknee5w ago
please run: php artisan about
nathan
nathan5w ago
Here are the results of php artisan about.
toeknee
toeknee5w ago
and running npm run build doesn't change anything or php artisan filament:upgrade
nathan
nathan5w ago
Correct. One interesting thing to note: This only happens with table action modal windows on RelationManagers. I can have a resource and on the list page a table action to display a modal window and it works fine. All relation manager tables with table actions have this bug.
toeknee
toeknee5w ago
If you can reporudce this, please create a bug report with the repo to be able to replicate it
nathan
nathan5w ago
I don't have the ability to generate a new project right now. Is there anyone here who have RelationManagers that display a modal when clicked and can reproduce this in their own project?
Want results from more Discord servers?
Add your server