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
Dennis Koch
Dennis Koch2y ago
Looks like a bug. Can you reproduce this on a fresh install only with Wizard and Repeater and report an issue?
Carmine Spagnuolo
here the bug
Carmine Spagnuolo
@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
Dennis Koch
Dennis Koch2y ago
Yeah, sorry. A video doesn't really help us in fixing this
Carmine Spagnuolo
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
Dennis Koch
Dennis Koch2y ago
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
Carmine Spagnuolo
ok I will do it
Dan Harrin
Dan Harrin2y ago
or even better, submit a PR to fix it i cant guarantee when i will review the bug report
Carmine Spagnuolo
GitHub
GitHub - spagnuolocarmine/filamentphp-bug-scrolling-select-repeater...
Contribute to spagnuolocarmine/filamentphp-bug-scrolling-select-repeater-wizard development by creating an account on GitHub.
Dan Harrin
Dan Harrin2y ago
please submit it in an issue
Carmine Spagnuolo
@dan if youy can give me some directions i can work on it i will do
Carmine Spagnuolo
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 ...
Carmine Spagnuolo
if you can please give me just some suggestions and i can try to fix it
Dennis Koch
Dennis Koch2y ago
Probably no more than you already figured out. See which of the scrollTops is responsible
awcodes
awcodes2y ago
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.
Carmine Spagnuolo
I don't have this extension @awcodes but i checked now
awcodes
awcodes2y ago
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.
Carmine Spagnuolo
on firefox and safari and no issue
awcodes
awcodes2y ago
So it’s definitely a browser issue then.
Carmine Spagnuolo
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
Unknown User2y ago
Message Not Public
Sign In & Join Server To View
Zainal
Zainal2y ago
as mentioned @.awcodes this issue probably caused by one of your chrome extension
ericmp
ericmp5mo ago
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 :/
Want results from more Discord servers?
Add your server