Comments (8)
this error is related, since we don't have _scrollbox
Uncaught TypeError: can't access property "scrollLeft", tabstrip._scrollbox is undefined
afterTabTitleChanged chrome://tabmixplus/content/places/places.js:554
TMP_onTabTitleChanged chrome://tabmixplus/content/minit/tablib.js:1844
_setTabLabel chrome://tabmixplus/content/changecode.js line 218 > eval:32
setTabTitle chrome://tabmixplus/content/changecode.js line 218 > eval:65
onLocationChange chrome://browser/content/tabbrowser.js:6204
i added this at the top of tabsBindings.js
// temporary workaround until we fix multi-row feture
if (!gBrowser.tabContainer.arrowScrollbox._scrollbox) {
gBrowser.tabContainer.arrowScrollbox._scrollbox = {};
}
from tabmixplus.
mat be use 'gBrowser.tabContainer.arrowScrollbox.scrollbox'?
tabstrip._scrollbox -> tabstrip.scrollbox
from tabmixplus.
I need to work on converting scrollbox.xml to extend MozArrowScrollbox
from tabmixplus.
I need to work on converting scrollbox.xml to extend MozArrowScrollbox
https://bgrins.github.io/xbl-analysis/converter/
This site just come in handy for generate CE from XBL.
Just copy paste XML into left box and you get JS from right box.
You still have to tinker here and there though but its much easier.
Base on how shadow DOM slot works and the constructor of the <arrowscrollbox>:
(use the first shadow <scrollbox>)
the process could be as much simple as:
- once you have the Custom Element ready define it to still use the <scrollbox> tag.
- In shadow-root of the <arrowscrollbox> create a instance of your <scrollbox> with a <html:slot> child.
- Insert the created <scrollbox> before the original one thus it should automatically replace the older.
- Remove the old element.
I leave it untouched when I was converting the tab bindings because I have no idea how multi-row and scroll box binding works.
from tabmixplus.
Thank you for the tip @117649, i will look into it later today
from tabmixplus.
I'm sorry, I wasn't quite understand what 'scrollbox.xml' is doing back then thus my advice may be misleading.
Its looks like 'scrollbox.xml' just adding the scroll buttons on the right of tab bar not messing with the <arrowscrollbox>.
I think for that you can just create buttons with js and use the css of <arrowscrollbox>.
Any success on this article?
from tabmixplus.
Yes.
I have it working for normal tabs need more work for pinned tabs
from tabmixplus.
Anything I can help with?
from tabmixplus.
Related Issues (20)
- "Open all in tabs" no longer working in latest Waterfox HOT 10
- The fix for "Open all in tabs" added an unwanted "close tab" button HOT 16
- update issue HOT 3
- Tab size behavior in multi-row HOT 2
- 126beta The right-click part is not displayed HOT 2
- ESMification HOT 11
- ErrMSg on 126b1 HOT 3
- Open newtab from urlbar issue HOT 7
- Difference between TabMixPlus and TabMix on available via Firefox Add ons page by the same author? HOT 1
- Feature Request: Protect All Tabs Option HOT 4
- Firefox 126 context menus are messed up HOT 34
- 127 whereToOpenLink -> BrowserUtils.whereToOpenLink HOT 4
- Bookmarks not working on single click with 127.b01 HOT 6
- Firefox 126 & TMP: "Open New Tab next to current one" not working anymore HOT 2
- Firefox 126 & TMP: "Reload Tab Every" not remembered on Tabs after browser restart HOT 2
- BUG: TabBar Autoscrolling to unknown positions with MultiRow after Opening/Closing a tab HOT 4
- Please return single tab scrolling as an option HOT 8
- [Bug]When Tab mix plus is installed, clicking anything in the Menu bar's history menu of one window will replace an actively selected about: pages in another window HOT 4
- All tabs button keeps disappearing HOT 2
- Left clicking link on Locked tab results in 2 new tabs and stealing focus (FF 127 Final) HOT 10
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from tabmixplus.