<div dir="ltr">Little note. 'return false' prevents default event handler (e.g., opening link when clicking on link, or selecting radio button when clicking on it) not the event propagation/bubbling. So [preventDefault] should be called instead of 'return false' not the [stopPropagation].</div><div class="gmail_extra"><br><div class="gmail_quote">2015-05-13 13:45 GMT+03:00 Adam Chlipala <span dir="ltr"><<a href="mailto:adamc@csail.mit.edu" target="_blank">adamc@csail.mit.edu</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div bgcolor="#FFFFFF" text="#000000">
Following some discussion on this list of a proposed patch, I've
changed the interpretation of client-side GUI event handlers. They
no longer by default block propagation of handled events to parent
GUI elements. Instead, code should call [stopPropagation]
explicitly to get that behavior.<br>
<br>
I've pushed this change to the public Ur/Web Mercurial repo. I'll
hold off on making a new release with the change for at least a
week, because <b>the change breaks backward compatibility for Ur/Web
apps using client-side GUIs</b>. If you have such an app, please
check that it still functions as expected. Some source-code changes
may be required to work with the new Ur/Web, which should go out as
a formal release (possibly with other changes in the mean time) in
the next few weeks.<br>
</div>
<br>_______________________________________________<br>
Ur mailing list<br>
<a href="mailto:Ur@impredicative.com">Ur@impredicative.com</a><br>
<a href="http://www.impredicative.com/cgi-bin/mailman/listinfo/ur" target="_blank">http://www.impredicative.com/cgi-bin/mailman/listinfo/ur</a><br>
<br></blockquote></div><br></div>