Home > front end >  Mobile page sliding distance, one of the hidden box, a box fixed position
Mobile page sliding distance, one of the hidden box, a box fixed position

Time:10-04

The following figure, when the distance to move down the page than the shuffling figure, round figure hidden, and fixed position in the top list of navigation bar, but I'm on the computer debugging when the mobile terminal is normal, but I did not carry out the slide on the phone, please great god told the reason

CodePudding user response:

All points didn't understand, you don't mean to hide it after more than
To make navigation is fixed at the top in the original is directly fixed the

CodePudding user response:

Each mobile browser has its own internal set, so sometimes present is not the same as the computer, such as ajax requests timeout vivo mobile phone will automatically refresh the page (like this, remember),
Can try in a few more mobile phone,
With the useragent can get cell phone information, separate Settings,

CodePudding user response:

You don't mean to this hidden, that is, the distance of the page scroll down more than the round figure, this list is positioned directly above, rolling up remove fixed position again

CodePudding user response:

refer to the second floor a sugar packets boy reply:
every mobile browser has its own internal set, so sometimes present is not the same as the computer, such as ajax requests timeout vivo mobile phone will automatically refresh the page (like this, remember),
Can try in a few more mobile phone,
With useragent can get cell phone information, separate Settings,

Other people's mobile phone, too, is my code wrong

CodePudding user response:

reference 4 floor weixin_45579289 response:
someone else's cell phone, too, is my code wrong?

It should be code has a problem, if you can't find can go wrong when you feel the code below to add the pop-up,
JS sometimes make a mistake, PC can still run, cell phone will be stuck in the () I have met before,

CodePudding user response:

refer to fifth floor a sugar packets boy reply:
Quote: refer to 4th floor weixin_45579289 response:

Other people's mobile phone, too, is my code wrong?

It should be code has a problem, if you can't find can go wrong when you feel the code below to add the pop-up,
JS sometimes make a mistake, PC can still run, cell phone will be stuck in the () I have met before,

Found the problem, but does not solve, to the body of the scrolltop of PC, the mobile terminal access has been zero, on baidu to find in the document. The scrolltop in PC and mobile terminal is zero, with the window is zero, this is what circumstance

CodePudding user response:

$(' shuffling diagram below label piece of '). The offset (). The top
Use this to get positioning try,

CodePudding user response:

refer to 7th floor a sugar packets boy reply:
$(' shuffling diagram below label piece of '). The offset (). The top
Use this to get positioning try.

Thank you, although you this method doesn't work, but you gave me the inspiration, I had a big box for content package, bundle onscroll event to the box, finally, thank you, thank you very much
  • Related