Input frame cursor deviation on iphoneX

clipboard.png

always feels the cursor a little big

the back shadow I set is fixed, and then the small pop-up window adds margintop directly to the shadow

Mar.01,2021

this is not a problem unique to iphoneX. I've encountered it before. When the bounce layer is displayed, just set the location of the body to fixed, and give it a width

.
$('body').css({'position': 'fixed', 'width': '100%'});

reset it back when the bounce layer is closed

$('body').css({'position': 'relative'});
Menu