brave / brave-browser

Brave browser for Android, iOS, Linux, macOS, Windows.
https://brave.com
Mozilla Public License 2.0
17.9k stars 2.34k forks source link

After attaching a tab `#brave-vertical-tab-scroll-bar` causes the first tab to only be clicked on the left side, in minimized mode. #37303

Open ghost opened 7 months ago

ghost commented 7 months ago

Description

@sangwoo108 When you enable #brave-vertical-tab-scroll-bar and then you attach any tab to the tab strip in minimized mode, the first tab in that window (regardless of what tab it is, like if you arrange other tabs to be the first one or close tabs or anything like that), now the first tab can only be clicked on the left side of the tab, the right side will not click anymore making it hard to use in Minimized mode.

The only way to solve this is to switch to HT and then VT, or disable the Show Scrollbar in brave://settings/appearance

And it is the same behavior if the VT is placed on the right or the left, it is the right side that becomes unclickable. This also affect groups but it is not that important since you are only collapsing the group, and not activating a tab or something.

https://github.com/brave/brave-browser/assets/156715894/f39e7fd7-e699-4e97-87c4-75e8351d304d

Steps to Reproduce

  1. go to brave://flags and enable #brave-vertical-tab-scroll-bar
  2. Create many tabs in VT minimized mode (or switch to it after detach and re-attach the tabs)
  3. Detach and re-attach any of the tabs.
  4. Try to click the first one.
  5. Only the left side of the tab can be clicked now.
  6. Disable the Show Scrollbar in brave://settings/appearance or switch to HT and then VT, and the problem is fixed.

Brave version (brave://version info)

1.66.56 Chromium: 123.0.6312.86 (Official Build) nightly (64-bit) Windows 11 Version 23H2 (Build 22631.3296)

sangwoo108 commented 7 months ago

Thanks @TEMP-ad as always!