eoger / tabcenter-redux

Vertical Tabs extension for Firefox
Mozilla Public License 2.0
379 stars 67 forks source link

When dragging Tab, better visual feedback should show where the tab will go #141

Open Jiehong opened 7 years ago

Jiehong commented 7 years ago

Hi,

The current dragging function allows to drag a tab, but the position where the tab will be placed is a bit fuzzy. The current behaviour is the nominal "image drag" of the browser.

The current behaviour in the tab strip is to move surrounding tabs to give way to the moving one. Here is a reminder:

tabs

Could the same effect be used for vertical tabs?


Note:

I quickly had a look at the drag and drop html5 api, but it's unclear this is even possible (drag_test contains a bare html and css to play with html5 drag and drop):

drag_test.zip

eoger commented 7 years ago

It's possible to do it with HTML/JS, it's just hard :)