Post

Replies

Boosts

Views

Activity

Bug in Safari when using oninput and onchange in <input>
My webapp uses both oninput and onchange listeners on <input> elements. The oninput handlers can change the value under some circumstances (e.g. capitalizing text or adding a decimal point automatically for fixed-width numbers). I've noticed a bug in Safari (15) where changing the node value causes the onchange handler not to be invoked sometimes when the input is accepted (e.g. user blur or Enter key). It's not consistent. Sometimes it works sometimes it doesn't, with no discernable pattern, but it only fails when the <input> value is modified by oninput. This works completely reliably in Chrome (96). My workaround is to add onblur and onkeyup listeners to invoke the onchange handler.
1
0
1.6k
Jan ’22
MacOS repeatedly crashes trying to install Xcode 13
I tried to upgrade to Xcode 13 and macOS crashed after getting most of the way there (according to the progress bar after ~2 hours). Just in case that was the problem I then upgraded to the latest 11.6 macOS version and tried again. Same result. I then put the existing Xcode in the trash and tried again. Same result. I can't figure out how to stop the app store from trying to reload Xcode, so now I have a system without Xcode and that crashes every 2 hours. Help!
3
0
689
Sep ’21