Possible regression in waiting for DOMContentLoaded #25103
Labels
P2
A bug or feature request we're likely to work on
web-dart2js
web-libraries
Issues impacting dart:html, etc., libraries
Opening a new bug for possible regression reported in #885 (comment)
@vsmenon did the original fix.
Comment from there by @joseluis is
On version 1.13.0 this doesn't seem true anymore.
Minimal example: querySelector('#someid'); returns null when the element is placed after the script tag that loads the Dart script compiled with dart2js. In order to make it work I must use the script defer attribute, like this:
The text was updated successfully, but these errors were encountered: