JS jumps to page DIV question, ask for help

Test page: http://www.sdchina.com/files/.

DIV, on PC and mobile phone needs to click the link to jump to the page. Currently, the PC test is fine, but the mobile phone uses the sidebar of amazeui ( http://amazeui.org/javascript.), and you can"t jump when you click on the link.

now the page has been simplified, see the link above, and test the effect of the mobile phone from the computer side.

I would like to ask the great gods, what is the problem? How to solve the problem?

Jun.25,2021

Xiaomi's mobile browser and quark are normal


the full path of your current page needs to be added to the href in the sidebar, as follows:

http://www.sdchina.com/files/0917/text.html/-sharptab-3,

otherwise, the elements under the floating layer will not react when you open the sidebar. Please adopt

.

you jump with an anchor, which has compatibility issues in Android 3.0-4.0.
https://code.i-harness.com/en.
you can use js to change the scrolltop to achieve the jump.

Menu