File tree Expand file tree Collapse file tree 2 files changed +10
-0
lines changed
src/Presentation/SmartStore.Web Expand file tree Collapse file tree 2 files changed +10
-0
lines changed Original file line number Diff line number Diff line change @@ -396,6 +396,11 @@ var ShopBar = (function ($) {
396
396
cnt . find ( '.offcanvas-cart-footer' ) . remove ( ) ;
397
397
cnt . find ( '.offcanvas-cart-external-checkout' ) . remove ( ) ;
398
398
cnt . prepend ( data ) ;
399
+
400
+ // INFO: Hack to force redrawing for edge on androids. Else the body element shifts over the whole page and nothing can be seen or clicked anymore.
401
+ if ( Modernizr . touchevents && / E d g / . test ( navigator . userAgent ) ) {
402
+ $ ( '#footer' ) . toggleClass ( 'force-redraw' ) ;
403
+ }
399
404
} ,
400
405
complete : function ( jqXHR , textStatus ) {
401
406
tool . removeClass ( "loading" ) . addClass ( "loaded" ) ;
Original file line number Diff line number Diff line change 160
160
display : -webkit-box !important ;
161
161
display : -ms-flexbox !important ;
162
162
}
163
+
164
+ .force-redraw ::before {
165
+ content : " "
166
+ }
167
+
163
168
//
164
169
// Vars
165
170
// -------------------------------------------------
You can’t perform that action at this time.
0 commit comments