Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Links may automatically collapse in mobile devices or on window resizing #2

Open
ghost opened this issue May 15, 2016 · 0 comments
Open

Comments

@ghost
Copy link

ghost commented May 15, 2016

Hi Cory.

Thank you for such a wonderful script.

It seems that the plugin works wonderfully on the desktop but there are some problems when viewed from mobile devices (e.g. iPhone, iPad).

For example, you can view the accordion in action on this HTML page.

If you click the "+" sign on Selected Channel > Sibling 3. It will expand the child links and Sibling 3 will show a "-" sign. On a mobile device, if you scroll or rotate the device, the links under Sibling 3 automatically collapse back and disappear, rendering a "+" to Sibling 3 again.

I managed to simulate the same problem on the desktop as well by re-sizing the browser window (tested with Safari browser on OS X).

I wonder if there's a workaround for this problem?

Thank you.

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

No branches or pull requests

0 participants