-
Notifications
You must be signed in to change notification settings - Fork 295
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
"RTL feature-detect" changes caused build simple dojo.js can't be loaded #907
Comments
I will narrow it down to a particular commitment ASAP. Thanks Sent from my iPhone
|
Yes, ken. It is exactly ab64e8e commit caused this issue. |
@bright-sea, I've pushed a branch with an attempted fix to this issue. I haven't had immediate success reproducing the issue internally though, even with a build with dgrid included. Could you verify that the changeset I've pushed fixes the issue for you? Thanks! |
@kfranqueiro , yes, this fix works. Thanks. |
After updated to latest dgrid, our after-build single layer dojo.js (include everything, dgrid as well) can't be loaded, the error is
the error was caused by recently change
35f9504#diff-bead9f16bff9aecbab8689853913bbcd
the problem happened at line:
put(document.body, element, ".dgrid-scrollbar-measure");
that element might be null.
This code works before build, but after build, most of time it will failed at this line, but sometimes it will ok and I can see element is not null.
I put a log statement before this line to print element, and found:
Sometimes, element is a div object and sometime it is an div node
when element is a div object, it will be failed. When element is a domnode like list below, it is Ok.
But sometime, element is a domnode like below, it will still be failed:
The text was updated successfully, but these errors were encountered: