Skip to content
This repository has been archived by the owner on Mar 5, 2019. It is now read-only.

Multi-row Issue Jump #153

Open
Mgldvd opened this issue Apr 27, 2017 · 5 comments
Open

Multi-row Issue Jump #153

Mgldvd opened this issue Apr 27, 2017 · 5 comments

Comments

@Mgldvd
Copy link

Mgldvd commented Apr 27, 2017

hi,
the multi row is jumping, already disable all other plugins and try only with tabutils.

peek 2017-04-27 10-49

@yfdyh000
Copy link
Owner

#136

@TroudhuK
Copy link

I stay in 52.0.2 like a lot of users because of that...

@TroudhuK
Copy link

TroudhuK commented Aug 26, 2017

The problem seems to be because of the new tab-label-container hbox, and the CSS :

.tab-label-container {
  overflow: hidden;
}

which send overflows at each mouse movement on a tab. So the fix I found in tabutils-mt.js is:

  tabutils.addEventListener(gBrowser.mTabContainer, "overflow", function(event) {
    if (event.target.tagName == "tab") {
      event.stopPropagation();
      return;
    }
    this.enterBlockMode();
  }, false);

A problem stays with the newtab button which doesn't want to stay next to the last tab, and goes right (after hesitation lol).

@TroudhuK
Copy link

TroudhuK commented Aug 26, 2017

TroudhuK@ba93f98
(Sorry, I didn't take time to learn how to work on github or how to make a Firefox extension)
This is the code I currently use, which can certainly be improved...

@TroudhuK
Copy link

TroudhuK commented Aug 26, 2017

Just added that to fix the "new tab button(s)" behaviour:

#tabbrowser-tabs[multirow] + #new-tab-button {
  display: none;
}

#tabbrowser-tabs[multirow] .tabbrowser-arrowscrollbox > .tabs-newtab-button {
  visibility: visible;
}

Edit : It's a little buggy sometimes.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants