filamentgroup / tablesaw

A group of plugins for responsive tables.
MIT License
5.48k stars 434 forks source link

Width as not constant, When toggling the table swipe #298

Closed Karthikpoongo closed 6 years ago

Karthikpoongo commented 7 years ago

While using table "tablesaw-mode="swipe"", the width as going out of the screen and the swipe function also not working. This scenario happened only the swipe table as toggling (Show & Hide) method for the button as clicking out of the table swipe and when the resize the window. Please help me out with this issue.

Webtransformer commented 7 years ago

+1

ghost commented 7 years ago

+1

We are using a tab interface and whenever you switch tabs in mobile the swipe table is full width. The refresh function found here works https://github.com/filamentgroup/tablesaw/issues/163 but only if called 50-70ms after switching tabs (so the table can react to its new width?). So the screen goes full width and then corrects itself, the flash is very ugly. What can we do about this?

zachleat commented 7 years ago

@bmackovic please open a separate issue.

zachleat commented 7 years ago

@Karthikpoongo @Webtransformer @bmackovic Can someone attach a test case?

Seems to work ok for me here: http://filamentgroup.github.io/tablesaw/demo/swipe.html

zachleat commented 6 years ago

3.0.6 is now available which includes improvements for swipe table column sizing.