Open jarrodek opened 6 years ago
The disableDrag property is not used anywhere in the code and therefore it is not working as intended. I believe that _scroll() function supposed to have the following condition but it is missing.
disableDrag
_scroll()
_scroll: function(e, detail) { if (!this.scrollable || this.disableDrag) { return; } ... },
Tabs are not scrolling when used in the following way:
<paper-tabs scrollable disable-drag> ... </paper-tabs>
You can still drag the tabs. It is a problem when you implement your own draggable tabs so you can rearrange pages.
scrollable
disable-drag
It's not dependent on browser.
Just as a workaround:
<paper-tabs scrollable disable-drag id="tabs"> ... </paper-tabs>
connectedCallback() { super.connectedCallback(); this.$.tabs._scroll = function() {}; }
Description
The
disableDrag
property is not used anywhere in the code and therefore it is not working as intended. I believe that_scroll()
function supposed to have the following condition but it is missing.Expected outcome
Tabs are not scrolling when used in the following way:
Actual outcome
You can still drag the tabs. It is a problem when you implement your own draggable tabs so you can rearrange pages.
Steps to reproduce
scrollable
anddisable-drag
attributes or corresponding properties.Browsers Affected
It's not dependent on browser.