Skip to content
This repository has been archived by the owner on Oct 21, 2022. It is now read-only.

fragment.reverse is not a function - when changed to swipe mode #350

Closed
lstsystems opened this issue Jul 17, 2018 · 2 comments
Closed

fragment.reverse is not a function - when changed to swipe mode #350

lstsystems opened this issue Jul 17, 2018 · 2 comments
Labels
Milestone

Comments

@lstsystems
Copy link

lstsystems commented Jul 17, 2018

I have a table that i initialized manually when the page loads everything is fine with the table starting in swipe but if i change to stack and then back to swipe i get this error

Uncaught TypeError: fragment.reverse is not a function

pointing to this part on the code:

if( fragment.length > 1 ){
			fragment = fragment.reverse();
		}

if i initialize the table with stack or toggle instead and then change it to swipe or toggle more than once the same thing happens.

I am using version 3.0.9 but it happened in 3.0.6 as well

Update: it seems to happens when i change to stacks and then back to wither swipe or toggle, if i change between toggle and swipe only no matter how many times i i do it it does not happens.

@zachleat zachleat added the bug label Dec 10, 2018
@zachleat
Copy link
Member

Confirmed, I can reproduce on the kitchen sink demo.

@zachleat zachleat added this to the v3.1.0 milestone Dec 10, 2018
@zachleat
Copy link
Member

This will be fixed in v3.1.0

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

No branches or pull requests

2 participants