Select/option doesn't work in chrome 53 after inspect
See original GitHub issueShort description of the problem:
Select/option doesn’t work in chrome 53 after inspect.
What behavior are you expecting?
Open select box and see options list. Instead nothing happens. This issue happens only on chrome 53 desktop.
Steps to reproduce:
- Open Chrome and navigate to localhost:8100 after ionic serve
- Right click anywhere -> inspect element -> select any device
- Be sure to be on a page with a select box. Example:
controller.js
...
$scope.data = {}
$scope.data.list = ['1', '2', '3'];
$scope.data.selected = $scope.data.list[0];
view.html
<ion-input class="item item-select text-align-left">
<select
ng-options="value for value in data.list"
ng-model="data.selected">
</select>
</ion-input>
Which Ionic Version? 1.x or 2.x 1.3.1
Run ionic info
from terminal/cmd prompt: (paste output below)
Your system information:
Cordova CLI: 6.1.1 Gulp version: CLI version 1.2.1 Gulp local: Local version 3.9.1 Ionic CLI Version: 1.7.16 Ionic App Lib Version: 0.7.3 ios-deploy version: 1.8.5 ios-sim version: 5.0.6 OS: Mac OS X El Capitan Node Version: v5.6.0 Xcode version: Xcode 7.3.1 Build version 7D1014
Plunker that shows an example of your issue
Issue Analytics
- State:
- Created 7 years ago
- Reactions:3
- Comments:14 (2 by maintainers)
Top Results From Across the Web
Select/option doesn't work in chrome 53 after inspect #8006
Open Chrome and navigate to localhost:8100 after ionic serve; Right click anywhere -> inspect element -> select any device; Be sure to be...
Read more >Inspecting drop down menus in new Chrome - Stack Overflow
Hover over the element with your mouse and press F8 (this will only work in Chrome) to pause the script execution. The hover...
Read more >Chrome Devtools Not Working With The Select Element - ADocLib
Short description of the problem: Select/option doesn't work in chrome 53 after inspect. What behavior are you expecting? Open select box.
Read more >How to Inspect Element: Simple Methods for Editing a Web Page
Open Google Chrome and go to a website. In this example, we're using hostinger.com. Right-click anywhere on the web page and select Inspect...
Read more >HTMLSelectElement add ability to show option list ... - WICG
Problem: The ability to open a HTMLSelectElement's option list from javascript doesn't exist. Some of the solutions used currently with Chrome won't work...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Using version 52 of chrome it works, but throws this warn:
My chrome updated today to version 53 and the select stopped working. The warn above also stopped.
I updated my ionic app and the select is still broken. Before updating ionic, the warn was caused by line 2865:
I don’t think it is a Chrome DevTools bug. It seems to be a problem with
dispatchEvent
action. I’m looking for a solution to this too.Nope. I think issue is still there.
Some more info I’ve found:
initMouseEvent
is deprecated(Ref)select
element through JS earlier. Not anymore, (after Chrome 53 update) Quoting from the feature change page:@jgw96 Can you please re-open the issue?