I have defined some events when input textbox has got focus and some task to perform when focus is removed. I am also using iscroll4 but textbox is out of the scroller. My problem is when textbox gets focus and i click on the iscroll area the foucs from textbox is not going. But if i click on area outside iscroll the foucs is removing from the textbox. I am not understand why clicking on the iscroll region does not remove the focus whereas click events work. I have defined the blur event.
Remove focus from textbox when iscroll region is clicked
1.5k views Asked by user850234 At
1
There are 1 answers
Related Questions in JAVASCRIPT
- Using Puppeteer to scrape a public API only when the data changes
- inline SVG text (js)
- An array of images and a for loop display the buttons. How to assign each button to open its own block by name?
- Storing the preferred font-size in localStorage
- Simple movie API request not showing up in the console log
- Authenticate Flask rest API
- Deploying sveltekit app with gunjs on vercel throws cannot find module './lib/text-encoding'
- How to request administrator rights?
- mp4 embedded videos within github pages website not loading
- Scrimba tutorial was working, suddenly stopped even trying the default
- In Datatables, start value resets to 0, when column sorting
- How do I link two models in mongoose?
- parameter values only being sent to certain columns in google sheet?
- Run main several times of wasm in browser
- Variable inside a Variable, not updating
Related Questions in JQUERY
- In Datatables, start value resets to 0, when column sorting
- Bootstrap modal not showing at the desired position on a web page when the screen size is smaller
- window.location.href redirects but is causing problems on the webpage
- Using JQuery Date Slider
- Storing selected language in localStorage
- How to stop other divs from still showing when i click a different button?
- Check multiple values with jQuery
- Bootstrap component does not want to render in Datatables function
- put white spaces when entering an amount moneytype symfony
- Trouble accessing custom header in AJAX response using jQuery in Fiware Keyrock
- I just cant make it work, HTML, JS and Firebase error
- Didn't declared variable still not getting any error in JavaScript
- Move element horizontally while scrolling vertically in pure JavaScript
- allow multi carousel in same page
- Embedded TikTok posts / thumbnail styling issue
Related Questions in TEXTBOX
- Translating & Replacing Text Box Content From Spanish to English Using VBA (Excel Macro)
- Setting wordwrap width in a Textbox VB Dot Net Visual Basic
- Changing font colour on locked text box
- Code for textbox using python and spire library
- Insert Texbox on excel using python
- I want to search data from datagridview by search text box double click the result to fill the textboxes in parent form
- Showing currently selected field in a separate textbox in Access
- SetFocus is placing focus on incorrect textbox
- WPF TextBox set common StringFormat for all controls
- Value of string inputted from textbox
- weird issue with scrollbars and... textboxes? (VerticalContentAlignment)
- How to add the content of a read only textbox to a email body?
- Binding spinbox to textbox
- Apache Superset add a textbox entry for ad-hoc dynamic filtering
- Power BI: Dynamic text (not from slicer)
Related Questions in ONBLUR
- How to deactivate a function when a focusOut event happens?
- Angular blur event preventing click event of a button
- Issue with Dynamic Sorting in QTable based on User Input
- Build angular material component library locally with sourcemaps
- React-hook-form doesn't recognize input value
- React-native autocomplete-input onblur not working properly
- Javascript - alert problem with onblur and focus-visible Firefox/Chrome
- Apply onBlur to form elements but not to the reset button
- angular onblur works incorrectly when clicking input in div
- Blur event not triggered on VTextField
- Vue.js3 event @keydown.esc on text input is not triggered
- Blur event for composedPath returns empty array on window for Safari
- vuejs onblur directive not working as expected, while should hide the list
- Switching between product category cards
- Calendar component loses focus when I click on it
Related Questions in ISCROLL4
- jQuery mobile scrolling does not work on first page display
- iScroll 5 is not smooth on windows phone 8
- Possible to have both Probe and Zoom functions working in iScroll simultaneously?
- combining jquery mobile tabs and scrollable content
- iScroll4 vertical and horizontal scroll issue in ios
- iscroll body scroll not working
- iScroll is disabled when content is shorter than window size
- iScroll 5 trackpad speed too fast
- Destroy an iScroll object
- how to improve forms on iOS safari using iScroll? (keyboard breaks page when it disappears)
- iScroll inside iScroll - nested iScroll unexpected behavior
- How do I make iScroll5 work when the image is generated from a DB?
- Onclick event firing twice while using iscroll
- Scroll to element in Iscroll
- Iscroll 4 - How to scroll to a particular element based on some id?
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?
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)
I am using
iscroll4and in theiscroll.jsfile there is the following event defined :I commented the
e.preventDefaultline and it worked for me. This was basically preventing theblurevent to fire when i clicked on the iscroll region because this is the first event that iscroll fires when it receives any mouse down event.