developit / developit/preact-mdl

Strange <List> Behavior when using preact-router

Open
#40 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
192
Forks
20
PR merge metrics
No merged PRs in 30d

Description

Replication Instructions:
1. You can see this issue in a staging version of my app. Go [here](https://tower-887e1.firebaseapp.com/), and click the first item on this list, when it appears.
2. Go back using your browser back button
3. Attempt to click on the navigation icon again
4. It disappears and will only reappear when you hover over it

Some other strange behaviors include: entire list items becoming invisible after repeated back and forth navigation and List Primary Content disappearing.

Notice that I am using the word disappearing. This is because all the elements are still present in the DOM, as you can see from the inspector. But they are invisible. I've ruled this down to a compatibility issue between this module and the MDL CSS, as the issue is not present when the CSS is removed

Sidenote: This may be more relevant on the preact-router repo, ask me if you want to move it

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.