-
Notifications
You must be signed in to change notification settings - Fork 13.4k
Description
Prerequisites
- I have read the Contributing Guidelines.
- I agree to follow the Code of Conduct.
- I have searched for existing issues that already report this problem, without success.
Ionic Framework Version
- v4.x
- v5.x
- v6.x
- Nightly
Current Behavior
When I hold element with ion-activatable class, hover only appears for a moment. Class ion-activated is removed after a while. It's because changes in tap-click.ts file - event contextmenu is fired on longpress and after the changes, the hover breaks.
link to changes
Expected Behavior
When I hold element with ion-activatable class, hover should stay as long as the hold is taking.
Steps to Reproduce
- Add an element with a class to the view, e.g.
<div class="ion-activatable">test</div>. - Hold element on mobile device.
Code Reproduction URL
No response
Ionic Info
Ionic:
Ionic CLI : 6.18.1 (/usr/local/lib/node_modules/@ionic/cli)
Ionic Framework : @ionic/angular 6.1.11
@angular-devkit/build-angular : 13.3.3
@angular-devkit/schematics : 13.3.3
@angular/cli : 13.3.3
@ionic/angular-toolkit : 6.1.0
Capacitor:
Capacitor CLI : 3.4.3
@capacitor/android : 3.4.3
@capacitor/core : 3.4.3
@capacitor/ios : 3.4.3
Cordova:
Cordova CLI : 10.0.0
Cordova Platforms : not available
Cordova Plugins : not available
Utility:
cordova-res : not installed globally
native-run : 1.5.0
System:
NodeJS : v16.14.2 (/usr/local/bin/node)
npm : 8.5.0
OS : macOS Big Sur
Additional Information
No response