question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

bug: opacity hover state not being reset in chrome 95

See original GitHub issue

Prerequisites

Ionic Framework Version

  • v4.x
  • v5.x
  • v6.x

Current Behavior

In ios mode only -

if there is an IonButton inside an IonItem w/ IonInput, hovering over the button seems to cause the hover state to lock on hovered and then when you click in the input, it appears to cause the button hover state to toggle back and forth until you click outside the input.

md mode does not exhibit this behavior

https://user-images.githubusercontent.com/14936212/144510287-13411231-d11e-4fcc-ac71-40cda5fc7595.mov

Expected Behavior

Expected behavior is hovering over button should functino as expected - hover on when over, hover off when outside; there should be no interacting with input having focus/flashing cursor

Steps to Reproduce

In attached github repo, simply fire up the demo and hover over the button - you should see it go to hover state but then not return if you then click into the input, you should see the button styles flash between hover and not.

Code Reproduction URL

https://github.com/babycourageous/ionic-input-with-icon-button-bug

Ionic Info

Ionic:

Ionic CLI : 6.17.1 Ionic Framework : @ionic/react 5.9.1

Capacitor:

Capacitor CLI : 3.3.2 @capacitor/android : not installed @capacitor/core : 3.3.2 @capacitor/ios : not installed

Utility:

cordova-res : not installed globally native-run : 1.5.0

System:

NodeJS : v14.17.6 npm : 6.14.15 OS : macOS Big Sur

Additional Information

No response

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:7 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
liamdebeasicommented, Dec 6, 2021

No problem, I have updated the issue title.

0reactions
ionitron-bot[bot]commented, Jan 5, 2022

Thanks for the issue! This issue is being locked to prevent comments that are not relevant to the original issue. If this is still an issue with the latest version of Ionic, please create a new issue and ensure the template is fully filled out.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Hover opacity issue in Chrome - Stack Overflow
Hi guys, I'm having some issues with a hover transition here that only seems to happen in chrome. When the user hovers over...
Read more >
CSS / Opacity hover issues in Chrome/Safari but not in Firefox?
So, I'm just nearly finishing my portfolio and in Firefox these boxes have a a:hover opacity rollover image, so it fades out and...
Read more >
Archived release notes - Chrome Enterprise and Education Help
Note: For information about the current Chrome versions and targeted releases, see Chrome Enterprise release notes.
Read more >
What's New In DevTools (Chrome 98)
Developer advocate working on Chrome DevTools at Google. ... You can now open the Command Menu and run the Show rulers on hover...
Read more >
jQuery and Ajax Tutorial
jQuery provides a powerful and supercharged selector function to select elements based on HTML tag-names (e.g., <p> , <button> ), HTML ID attribute...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found