I had added an effect on hoverEnter and hoverLeave on my Divs assuming that these events wont fire on iOS devices. But on iOS devices the hoverEnter and click event fire and the hoverEnter effect is maintained. I don't want these hover events to fire on mobile devices. What should I do. I am attaching event via Javascript and the hover event is attached to the div before click event.
How do I avoid hover event to fire in iPhone and iPad?
581 Views Asked by Akshay Shinde At
1
There are 1 best solutions below
Related Questions in JAVASCRIPT
- Angular Show All When No Filter Is Supplied
- Why does a function show up as not defined
- I count the time the user takes to solve my quiz using Javascript but I want the same time displayed on another page
- Set "More" "Less" font size
- Using pagination on a table in AngularJS
- How to sort these using Javascript or Jquery Most effectively
- how to fill out the table with next values in array with one button
- State with different subviews
- Ajax jQuery firing multiple time display event for the same result
- Getting and passing MVC Model data to AngularJS controller
- Disable variable in eval
- javascript nested loops waiting for user input
- .hover() seems to overwrite .click()
- How to sort a multi-dimensional array by the second array in descending order?
- How do I find the fonts that are not loading in a CORS situation ( MoovWeb )?
Related Questions in IOS
- Overlapping UICollectionView in storyboard
- Cannot pod spec lint because of undeclared type errors
- Is the transactionReceipt data present in dataWithContentsOfURL?
- UIWebView Screen Fitting Issue
- ZXingObjC encoding issues
- iOS: None of the valid provisioning profiles allowed the specific entitlements
- How to hide "Now playing url" in control center
- CloudKit: Preventing Duplicate Records
- Slow performance on ipad erasing image
- Swift code with multiple NSDateFormatter - optimization
- iOS 8.3 Safari crashes on input type=file
- TTTTimeIntervalFormatter always returns strings in English
- How do I add multiple in app purchases in Swift Spritekit?
- Setup code for xibs in iOS. -awakFromNb:
- iOS Voice Over only reads out the title of any alert views
Related Questions in JQUERY-EVENTS
- Highcharts & jQuery: add a mark by clicking with Shift key pressed, then process on release
- Using JavaScript or jQuery to auto populate the current time
- Click Event Not Working After Class Change
- Kendo - can two Observable objects use the "change" event on the same page?
- How to bind event to appended element in jQuery
- jQuery selectable manually invoke an event
- How to prevent my jQuery textarea Focus event from firing repeatedly for ulimted times in a row
- Why are two click events registered in this html/css/jquery
- Force all options of a select list to appear as expanded on click
- sublime-scroll plugin is not scrolling as expected (iframe event catching issue)
- Modify DOM while page is rendering
- Constantly check the length of an element and perform an action if it is ever 1
- Set a timeout before show a div
- JQuery Autoselect: I want to run a function always on select event, but on change event only if value is not selected
- jQuery's `.hover()` method doesn't work for `:hover` CSS style?
Related Questions in JQUERY-HOVER
- setTimeout dont work on .hover() leave/stop
- How do I avoid hover event to fire in iPhone and iPad?
- How to get jquery grayscale transform effect to only apply after hover?
- Change element ID, but jQuery still fires event calling old ID. Why does this work?
- How to save the last hovered state on an HTML element?
- Extending sap.ui.core.Icon with hover event or mouseover
- JavaScript or JQuery to make an element behave like a link - onmouseover or hover?
- Toggle not working on hover in a menu
- Add a very basic color overlay with text
- jQuery Fade on Hover Not Working
- HTML Javascript events queued?
- jQuery Hover out-of-line
- jQuery hover - sub-menu stay open while the cursor is not hovering, and hides it when you hover
- jquery slideUp on click, stopped on hover reset on mouseleave
- jQuery Hover Issue With Children
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
To emulate the hover you simply add an event listener to the element you want to have a hover event, you can use touchstart and touchend events instead of using hover