Merge pull request #2276 from ambujsahu81/patch-1

Fix #2264: Navigator display rectangle is off when the page has box-sizing: border-box
This commit is contained in:
Ian Gilman 2023-01-20 13:51:52 -08:00 committed by GitHub
commit 5a8e7ddcf8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -184,6 +184,7 @@ $.Navigator = function( options ){
style.styleFloat = 'left'; //IE style.styleFloat = 'left'; //IE
style.zIndex = 999999999; style.zIndex = 999999999;
style.cursor = 'default'; style.cursor = 'default';
style.boxSizing = 'content-box';
}( this.displayRegion.style, this.borderWidth )); }( this.displayRegion.style, this.borderWidth ));
$.setElementPointerEventsNone( this.displayRegion ); $.setElementPointerEventsNone( this.displayRegion );
$.setElementTouchActionNone( this.displayRegion ); $.setElementTouchActionNone( this.displayRegion );