Swiggy / swipeable-tabs

React Tabs Component that supports Swiping across screen to switch tabs.
https://www.npmjs.com/package/@tarragon/swipeable-tabs
MIT License
21 stars 12 forks source link

Mobile view: first tab not swiping correctly #3

Open Zefau opened 4 years ago

Zefau commented 4 years ago

Thanks for this great library.

I'm using it in combination with Material UI tabs, but I think, that this is unfortunately a bit buggy. Specifically swiping from the first tab to the second is not possible, because the viewport is too large. See also https://github.com/Zefau/ioBroker.jarvis/issues/19.

This is specific to mobile view on the phone. On a small browser window (emulating mobile view) this is working as expected.

TABS (note the horizontal scrollbar): image

DOM: image

Thanks in advanced and kind regards, Zefau

shreya0712 commented 4 years ago

Hey. Thanks for reporting the issue. Would appreciate if you could provide a fiddle to demonstrate the issue.