ios Safari - Click on level 0 category menu would cause the background page shifted up unexpectedlyHow to change template of category page depending on category level in code?How can I add category IDs as a class on the top menu?Remove category level from top navigation menu (topMenu)How to create a category menu like the one hereHave category page main menu based on current categoryChange the background color of the catalog product view page?What will be the background process execute when click on reindexing in Magento 2?Create pop-up on click on menu categorymagento 2 Infortis ultimo theme display category tree menu on the left of the search result pageClick on 2nd level Submenu Close All Menu in Mobile(View) in Magento 2
Backpacking with incontinence
Password management for kids - what's a good way to start?
Just how much information should you share with a former client?
What is the significance of $(logname)?
How to let cacti grow even if no player is near?
mv Command Deleted Files In Source Directory and Target Directory
How to structure presentation to avoid getting questions that will be answered later in the presentation?
Reasons for using monsters as bioweapons
How to innovate in OR
Should students have access to past exams or an exam bank?
Complete the grid-filling meander
When did J.K. Rowling decide to make Harry and Ginny a couple?
Why have both: BJT and FET transistors on IC output?
Novel - Accidental exploration ship, broadcasts a TV show to let people know what they find
How to avoid a lengthy conversation with someone from the neighborhood I don't share interests with
Domain Admin Account Accessing SQL Server
Does the problem of P vs NP come under the category of Operational Research?
Why does Beijing's new Daxing airport have so few gates?
Are some indefinite integrals impossible to compute or just don't exist?
How do Canadians get a visa to go to Saudi Arabia?
Best Ergonomic Design for a handheld ranged weapon
What is the most 'environmentally friendly' way to learn to fly?
Guidelines for writing a chord progression
How do I find SFDX CLI default installation folder on Mac?
ios Safari - Click on level 0 category menu would cause the background page shifted up unexpectedly
How to change template of category page depending on category level in code?How can I add category IDs as a class on the top menu?Remove category level from top navigation menu (topMenu)How to create a category menu like the one hereHave category page main menu based on current categoryChange the background color of the catalog product view page?What will be the background process execute when click on reindexing in Magento 2?Create pop-up on click on menu categorymagento 2 Infortis ultimo theme display category tree menu on the left of the search result pageClick on 2nd level Submenu Close All Menu in Mobile(View) in Magento 2
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty margin-bottom:0;
I found an issue that occurs with iphone and iMac using Safari, running on Magento v2.3.1
Steps to reproduce the problem:
1. Visit webpage with iPhone/iMac with Safari browser
2. Tap on Responsive Menu
3. Responsive Menu Opens
4. Tap on Category (i.e "How to buy" in my case), the background page shifted up unexpectedly (see the second screenshot attached below, yellow bordered)
(expected result: the background page should remain as top position)
Any clue to fix this problem? thanks.


magento2 layout menu
add a comment |
I found an issue that occurs with iphone and iMac using Safari, running on Magento v2.3.1
Steps to reproduce the problem:
1. Visit webpage with iPhone/iMac with Safari browser
2. Tap on Responsive Menu
3. Responsive Menu Opens
4. Tap on Category (i.e "How to buy" in my case), the background page shifted up unexpectedly (see the second screenshot attached below, yellow bordered)
(expected result: the background page should remain as top position)
Any clue to fix this problem? thanks.


magento2 layout menu
add a comment |
I found an issue that occurs with iphone and iMac using Safari, running on Magento v2.3.1
Steps to reproduce the problem:
1. Visit webpage with iPhone/iMac with Safari browser
2. Tap on Responsive Menu
3. Responsive Menu Opens
4. Tap on Category (i.e "How to buy" in my case), the background page shifted up unexpectedly (see the second screenshot attached below, yellow bordered)
(expected result: the background page should remain as top position)
Any clue to fix this problem? thanks.


magento2 layout menu
I found an issue that occurs with iphone and iMac using Safari, running on Magento v2.3.1
Steps to reproduce the problem:
1. Visit webpage with iPhone/iMac with Safari browser
2. Tap on Responsive Menu
3. Responsive Menu Opens
4. Tap on Category (i.e "How to buy" in my case), the background page shifted up unexpectedly (see the second screenshot attached below, yellow bordered)
(expected result: the background page should remain as top position)
Any clue to fix this problem? thanks.


magento2 layout menu
magento2 layout menu
asked Jul 23 at 7:28
Victor LeungVictor Leung
1
1
add a comment |
add a comment |
1 Answer
1
active
oldest
votes
This is how Safari handles position:fixed on the body tag, in typical Apple fashion it works completely differently to every other browsers. This is a common fix to stop the background scrolling as the user scrolls down the navigation.
To stop this behaviour remove position: fixed from the body and height: 100% from html when the category is tapped on, but make sure you test on iOS Safari that the UX is not impacted otherwise your users may end up with an even worse experience.


It works, thanks Ben.
– Victor Leung
Jul 23 at 11:20
Glad to see it works :) Can you mark this as the accepted answer please @VictorLeung? It's a tick/checkmark icon to the left of my answer.
– Ben Crook
Jul 23 at 12:18
I voted up actually but I don't have enough reputation (seem at least of 15) to make it show up publicly.
– Victor Leung
Jul 23 at 12:50
I didn't know about that! No worries, thanks for letting me know it worked.
– Ben Crook
Jul 23 at 13:21
add a comment |
Your Answer
StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "479"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);
else
createEditor();
);
function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);
);
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%2fmagento.stackexchange.com%2fquestions%2f282944%2fios-safari-click-on-level-0-category-menu-would-cause-the-background-page-shif%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
This is how Safari handles position:fixed on the body tag, in typical Apple fashion it works completely differently to every other browsers. This is a common fix to stop the background scrolling as the user scrolls down the navigation.
To stop this behaviour remove position: fixed from the body and height: 100% from html when the category is tapped on, but make sure you test on iOS Safari that the UX is not impacted otherwise your users may end up with an even worse experience.


It works, thanks Ben.
– Victor Leung
Jul 23 at 11:20
Glad to see it works :) Can you mark this as the accepted answer please @VictorLeung? It's a tick/checkmark icon to the left of my answer.
– Ben Crook
Jul 23 at 12:18
I voted up actually but I don't have enough reputation (seem at least of 15) to make it show up publicly.
– Victor Leung
Jul 23 at 12:50
I didn't know about that! No worries, thanks for letting me know it worked.
– Ben Crook
Jul 23 at 13:21
add a comment |
This is how Safari handles position:fixed on the body tag, in typical Apple fashion it works completely differently to every other browsers. This is a common fix to stop the background scrolling as the user scrolls down the navigation.
To stop this behaviour remove position: fixed from the body and height: 100% from html when the category is tapped on, but make sure you test on iOS Safari that the UX is not impacted otherwise your users may end up with an even worse experience.


It works, thanks Ben.
– Victor Leung
Jul 23 at 11:20
Glad to see it works :) Can you mark this as the accepted answer please @VictorLeung? It's a tick/checkmark icon to the left of my answer.
– Ben Crook
Jul 23 at 12:18
I voted up actually but I don't have enough reputation (seem at least of 15) to make it show up publicly.
– Victor Leung
Jul 23 at 12:50
I didn't know about that! No worries, thanks for letting me know it worked.
– Ben Crook
Jul 23 at 13:21
add a comment |
This is how Safari handles position:fixed on the body tag, in typical Apple fashion it works completely differently to every other browsers. This is a common fix to stop the background scrolling as the user scrolls down the navigation.
To stop this behaviour remove position: fixed from the body and height: 100% from html when the category is tapped on, but make sure you test on iOS Safari that the UX is not impacted otherwise your users may end up with an even worse experience.


This is how Safari handles position:fixed on the body tag, in typical Apple fashion it works completely differently to every other browsers. This is a common fix to stop the background scrolling as the user scrolls down the navigation.
To stop this behaviour remove position: fixed from the body and height: 100% from html when the category is tapped on, but make sure you test on iOS Safari that the UX is not impacted otherwise your users may end up with an even worse experience.


answered Jul 23 at 8:26
Ben CrookBen Crook
10.1k26 silver badges82 bronze badges
10.1k26 silver badges82 bronze badges
It works, thanks Ben.
– Victor Leung
Jul 23 at 11:20
Glad to see it works :) Can you mark this as the accepted answer please @VictorLeung? It's a tick/checkmark icon to the left of my answer.
– Ben Crook
Jul 23 at 12:18
I voted up actually but I don't have enough reputation (seem at least of 15) to make it show up publicly.
– Victor Leung
Jul 23 at 12:50
I didn't know about that! No worries, thanks for letting me know it worked.
– Ben Crook
Jul 23 at 13:21
add a comment |
It works, thanks Ben.
– Victor Leung
Jul 23 at 11:20
Glad to see it works :) Can you mark this as the accepted answer please @VictorLeung? It's a tick/checkmark icon to the left of my answer.
– Ben Crook
Jul 23 at 12:18
I voted up actually but I don't have enough reputation (seem at least of 15) to make it show up publicly.
– Victor Leung
Jul 23 at 12:50
I didn't know about that! No worries, thanks for letting me know it worked.
– Ben Crook
Jul 23 at 13:21
It works, thanks Ben.
– Victor Leung
Jul 23 at 11:20
It works, thanks Ben.
– Victor Leung
Jul 23 at 11:20
Glad to see it works :) Can you mark this as the accepted answer please @VictorLeung? It's a tick/checkmark icon to the left of my answer.
– Ben Crook
Jul 23 at 12:18
Glad to see it works :) Can you mark this as the accepted answer please @VictorLeung? It's a tick/checkmark icon to the left of my answer.
– Ben Crook
Jul 23 at 12:18
I voted up actually but I don't have enough reputation (seem at least of 15) to make it show up publicly.
– Victor Leung
Jul 23 at 12:50
I voted up actually but I don't have enough reputation (seem at least of 15) to make it show up publicly.
– Victor Leung
Jul 23 at 12:50
I didn't know about that! No worries, thanks for letting me know it worked.
– Ben Crook
Jul 23 at 13:21
I didn't know about that! No worries, thanks for letting me know it worked.
– Ben Crook
Jul 23 at 13:21
add a comment |
Thanks for contributing an answer to Magento Stack Exchange!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
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%2fmagento.stackexchange.com%2fquestions%2f282944%2fios-safari-click-on-level-0-category-menu-would-cause-the-background-page-shif%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