Skip to content
This repository has been archived by the owner on Apr 12, 2024. It is now read-only.

IE9 Radio button bug - bound model value becomes 'stuck' #885

Closed
zdam opened this issue Apr 17, 2012 · 2 comments
Closed

IE9 Radio button bug - bound model value becomes 'stuck' #885

zdam opened this issue Apr 17, 2012 · 2 comments

Comments

@zdam
Copy link

zdam commented Apr 17, 2012

I am seeing a problem in IE9, not sure what it is exactly, but here is the scenario:

Open this fiddle in IE9, and then cycle through the radio buttons more than once.

  • you should find that you cannot cycle more than once, underlying bound model value becomes 'stuck'.

Now remove the empty div, and you should find that radio button cycling then works.

http://jsfiddle.net/brDnt/

(I don't know that the empty div has anything to do with the problem, but it is the easiest way to show the behaviour change)

@mhevery
Copy link
Contributor

mhevery commented Apr 17, 2012

This is a heisen-bug, it fails to reproduce under debugger. So I placed console.log messages in angular.js and here is what I found.

  1. angularjs correctly updates the DOM
  2. IE shows the DOM as updated, but is simply not rendering it.
  3. causing a blur event (taking the mouse outside the iframe) will cause IE to rerender (hence the heisen-bug)

At this point I am not sure what else we can do, since we are doing everything right, IE just fails to render.

@mhevery
Copy link
Contributor

mhevery commented Apr 17, 2012

Closing the issue, since I have no idea how to fix IE's idiosyncrasies

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants