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

Doesn't work with flexbox - renders component 2x. #14

Open
cellis opened this issue Dec 3, 2016 · 1 comment
Open

Doesn't work with flexbox - renders component 2x. #14

cellis opened this issue Dec 3, 2016 · 1 comment

Comments

@cellis
Copy link

cellis commented Dec 3, 2016

I'm trying to use this with flexbox. My html structure is as follows:

css

.Site {
  display: flex;
  min-height: 100vh;
  flex-direction: column;
}

.Site-content {
  flex: 1;
}

#app {
  display: block;
}

html

<body class="Site">
    <div class="Site-content">
        <div id="app">
             ... app rendered here ...
        </div>
    </div>
</body>

With the above css, a click on links does not transition correctly on the first click, and on the second click it renders a duplicate of the component.

@misterfresh
Copy link
Owner

can you provide a jsfiddle ?

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

2 participants