Wizard and repeater automatically scroll to the top on Google Chrome and Mac OS X
Hi as reported in this message https://discord.com/channels/883083792112300104/883085278993068082/1068619767365251072
When you are using the wizard with repeater also and you just click on button or selecting a value in a Select field, the page automatically scroll up!
How I can fix it?
23 Replies
Looks like a bug. Can you reproduce this on a fresh install only with Wizard and Repeater and report an issue?
here the bug
@Dennis Koch I really need to fix this bug
also with some custom
I see that in the app.js there are a lot of scrollTop actions
Yeah, sorry. A video doesn't really help us in fixing this
It is an easy bug basically if you click on any item as select field
and the page is not in to the top\
it automatically scoll
to the top
in particular it happen with select field populated by relations
non only with options
If it's an easy bug, it shouldn't be an issue to set up a small reproduction repo so we can have a look at it
ok I will do it
or even better, submit a PR to fix it
i cant guarantee when i will review the bug report
@Dennis Koch and @Dan Harrin here the repo: https://github.com/spagnuolocarmine/filamentphp-bug-scrolling-select-repeater-wizard
GitHub
GitHub - spagnuolocarmine/filamentphp-bug-scrolling-select-repeater...
Contribute to spagnuolocarmine/filamentphp-bug-scrolling-select-repeater-wizard development by creating an account on GitHub.
please submit it in an issue
@dan if youy can give me some directions i can work on it
i will do
here the issue: https://github.com/filamentphp/filament/issues/5852
GitHub
Page scroll up using wizard and repeater · Issue #5852 · filamentph...
Package filament/filament Package Version v2 Laravel Version v8 Livewire Version v2 PHP Version 8 Problem description Page scroll up using wizard and repeater Expected behavior No scrolling to the ...
if you can please give me just some suggestions and i can try to fix it
Probably no more than you already figured out. See which of the scrollTops is responsible
Turn off lastpass if you have its extension installed in your browser. Other had this same issue in the past and it was a browser extension causing it. Not a filament issue.
I don't have this extension
@awcodes
but i checked now
Try it in an incognito browser session. Last time we saw this it was a browser extension causing the issue. It could be an of them.
on firefox and safari
and no issue
So it’s definitely a browser issue then.
on chorme and icognito the issue is present
ok thank you!!!
i will update the issue
I have updated the issue really thank you, guys!
the issue just is still present when you click on add item to repeater
that will scroll to the top of the page
Unknown User•2y ago
Message Not Public
Sign In & Join Server To View
as mentioned @.awcodes this issue probably caused by one of your chrome extension
i'm also having this issue on chrome.
chrome with extensions - goes to top
chrome in incognito - goes to top
firefox - works
safari - works
brave - works
so yeah idk how to solve it but seems we cant do nothing as it seems is a chrome bug :/