samihaddad / vertical-tabs-chrome-extension

MIT License
24 stars 4 forks source link

Closing tab or switching tabs makes the widget scroll to a random position on top. #60

Open WaelShaikh opened 3 months ago

WaelShaikh commented 3 months ago

Sometimes when I close a tab either via Ctrl+W or by clicking the X icon in the widget or when I switch tabs via Alt+Tab or by clicking another tab via the widget, the widget scrolls to a random position near the top.

samihaddad commented 3 months ago

Hey @WaelShaikh, thanks for reporting. Can you share if this only happens when you're using tab groups.

WaelShaikh commented 3 months ago

The bug is very inconsistent. I tried but I can't seem to recreate the bug on a new window. And I'm afraid I can't risk closing all my tab groups on my main window.

lancelebanoff commented 3 months ago

It happens even if you have no tab groups. I opened a second window with about 110 tabs, most of which were grouped into about 10 tab groups. The bug happened when I closed a tab near the bottom. Then I ungrouped all of the tabs (keeping them open) and tried closing a tab again, and the bug happened again.

lancelebanoff commented 3 months ago

Note, I opened the second window using Tab Session Manager extension. When I closed that window and opened a new window with ~110 blank tabs, the bug did not happen. I wonder if the bug only happens when reopening a closed window after the computer restarts or using an extension like Tab Session Manager, etc.

samihaddad commented 2 months ago

The latest version fixes issues with the scrolling behaviour. Let me know if you are still experiencing this after updating.

WaelShaikh commented 2 months ago

I haven't experienced the issue as of yet. It seems to have been fixed.

lancelebanoff commented 1 month ago

I haven't experienced the original issue since you mentioned the fix, thanks! Recently now I'm experiencing a similar issue:

If I open/close a tab group, the widget will scroll such that the currently open tab is visible. This often makes me lose my place since I can't see the tab group that I just opened/closed.

lancelebanoff commented 1 month ago

I can turn this into a new issue if you like.