You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm using tabs on a show page. Inside the tabs are has_many fields. There are many tab buttons, so that a horizontal scrollbar appears. When I scroll to the right and press a tab button for the first time, the corresponding tabpanel appears and lazy loads the content. When this happens, the horizontal scroll on the tab buttons resets to the left, and I need to scroll back to the right.
This does not happen if the content was already loaded, e.g. when clicking for the second time on a button.
As a side note: When clicking a tab button on the far left or far right, a horizontal scroll is applied automatically, to make the next button visible. Even though I understand why this behaviour was added, I feel that it is rather a bit annoying, as I always have to check where I was before clicking the next button. I think it would be easier to click through the tabs if the horizontal scroll just stayed where it was 🙂
Describe the bug
I'm using
tabson a show page. Inside the tabs arehas_manyfields. There are many tab buttons, so that a horizontal scrollbar appears. When I scroll to the right and press a tab button for the first time, the corresponding tabpanel appears and lazy loads the content. When this happens, the horizontal scroll on the tab buttons resets to the left, and I need to scroll back to the right.This does not happen if the content was already loaded, e.g. when clicking for the second time on a button.
As a side note: When clicking a tab button on the far left or far right, a horizontal scroll is applied automatically, to make the next button visible. Even though I understand why this behaviour was added, I feel that it is rather a bit annoying, as I always have to check where I was before clicking the next button. I think it would be easier to click through the tabs if the horizontal scroll just stayed where it was 🙂
Reproduction repository for the bug
No repository, but mainly just this code:
Expected behavior
I don't want the tab button list to move at all 😉
System configuration
Avo version: 4.0.0 beta 58
Rails version: 8.1
Ruby version: 4.0
License type:
Are you using Avo monkey patches, overriding views or view components?
Screenshots or screen recordings
Bildschirmaufnahme.2026-07-07.um.08.59.47.mov
Additional context
Impact
Urgency