Skip to content

Commit

Permalink
fix(core): fix :active state of interactive elements in Safari (#6753)
Browse files Browse the repository at this point in the history
  • Loading branch information
vladimirpotekhin authored Feb 12, 2024
1 parent faadc8a commit bd96202
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions projects/core/components/root/root.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,8 @@ import {debounceTime, map} from 'rxjs/operators';
'[class._ios]': 'isIOS',
'[class._android]': 'isAndroid',
'[class._reduced-motion]': 'reducedMotion',
// Required for the :active state to work in Safari. https://stackoverflow.com/a/33681490
'(touchstart.passive.silent)': '0',
'[$.class._mobile]': 'isMobileRes$',
'($.class._mobile)': 'isMobileRes$',
},
Expand Down

0 comments on commit bd96202

Please sign in to comment.