Hi,
I am currently writing a chrome extension that lets you change the order of chrome tabs & tab-groups in a dedicated UI inside the extension.
(when you move tabs/groups in the UI, they also immediately update their position in the original Chrome tab-bar of the browser)
But I have encountered one very strange error (a bug?) when moving tab-groups this way.
Pretty much all cases work well so far, but in the case when a user tries to move a tab-group right next to the last tab of another tab-group, there appears to be a bug in the extension API that is preventing me from doing that.
(or maybe I am using it wrong, please let me know)
I have created a minimal reproduction case on Github that shows the bug:
I would be happy if someone could confirm that this is indeed a bug in the API or if I am using it incorrectly.
Thanks 🙏