Page transition won't load children until complete
up vote
0
down vote
favorite
I have a page I am transitioning on and off the screen like so
position: fixed;
top: 0px;
right: 0px;
bottom: 0px;
left: 0px;
transition: transform 500ms ease;
transform: translateY(${isOpen ? "0vh" : "100vh"});
z-index: 200;
However, on mobile safari the contents are not rendered until after the transition has completed. This issue does not occur in mobile Chrome or Desktop Safari
What is causing the content to not render until after the transition is complete? What steps can I take to ensure that they are rendered before the transition begins?
EDIT:
If I change the child container to position: fixed
the render problem resolves but I am no longer able to scroll
reactjs mobile-safari
add a comment |
up vote
0
down vote
favorite
I have a page I am transitioning on and off the screen like so
position: fixed;
top: 0px;
right: 0px;
bottom: 0px;
left: 0px;
transition: transform 500ms ease;
transform: translateY(${isOpen ? "0vh" : "100vh"});
z-index: 200;
However, on mobile safari the contents are not rendered until after the transition has completed. This issue does not occur in mobile Chrome or Desktop Safari
What is causing the content to not render until after the transition is complete? What steps can I take to ensure that they are rendered before the transition begins?
EDIT:
If I change the child container to position: fixed
the render problem resolves but I am no longer able to scroll
reactjs mobile-safari
add a comment |
up vote
0
down vote
favorite
up vote
0
down vote
favorite
I have a page I am transitioning on and off the screen like so
position: fixed;
top: 0px;
right: 0px;
bottom: 0px;
left: 0px;
transition: transform 500ms ease;
transform: translateY(${isOpen ? "0vh" : "100vh"});
z-index: 200;
However, on mobile safari the contents are not rendered until after the transition has completed. This issue does not occur in mobile Chrome or Desktop Safari
What is causing the content to not render until after the transition is complete? What steps can I take to ensure that they are rendered before the transition begins?
EDIT:
If I change the child container to position: fixed
the render problem resolves but I am no longer able to scroll
reactjs mobile-safari
I have a page I am transitioning on and off the screen like so
position: fixed;
top: 0px;
right: 0px;
bottom: 0px;
left: 0px;
transition: transform 500ms ease;
transform: translateY(${isOpen ? "0vh" : "100vh"});
z-index: 200;
However, on mobile safari the contents are not rendered until after the transition has completed. This issue does not occur in mobile Chrome or Desktop Safari
What is causing the content to not render until after the transition is complete? What steps can I take to ensure that they are rendered before the transition begins?
EDIT:
If I change the child container to position: fixed
the render problem resolves but I am no longer able to scroll
reactjs mobile-safari
reactjs mobile-safari
edited Nov 10 at 17:26
asked Nov 10 at 17:10
Luke Pighetti
33729
33729
add a comment |
add a comment |
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53241383%2fpage-transition-wont-load-children-until-complete%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown