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 and splincode committed Feb 13, 2024
1 parent 87eb95a commit 5e91d73
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 @@ -27,6 +27,8 @@ import {debounceTime, map, Observable, of} from 'rxjs';
'[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 5e91d73

Please sign in to comment.