Closed reznik closed 8 years ago
I can't reproduce issue you reported, how to reproduce this? Once you provided procedure to reproduce, I think I can fix.
Disable "Use Shadow DOM" in Atom prefs —> then restart app —> call out plugin —> error. With enabled "Use Shadow DOM" everything is OK. So maybe it's not actual "error", but just this package requires Shadow DOM enabled to work.
OK, thanks for clarification, I've never used atom with Shadow DOM disabled, when I started using Atom for 3 months ago, shadow DOM was enabled by default as far as I remember.
Is there any reason to disable shadow DOM?
I work with enabled DOM too :-) I just code html and sass and for me there's no reason to disable it. I've just found some lags in Atom on saving files, so played with settings and found this bug accidentally.
OK, thanks I feel this should be fixed ideally, but I have no motivation to investigate further for now. After you reported this issue, I checked several my other packages and revealed not worked with Shadow DOM disabled, but this report is first report for this issue of all my packages.
I want to fix it but postpone until I encounter critical issue stems on this issue.
But anyway thanks for reporting and clarification for reproduce procedure. This info is valuable for the people come after.
Thanks!!
👌🏻
Code is rewritten on v0.2.0 and fix minor bugs. Please open new issue if you see issue again.
[Enter steps to reproduce below:]
Atom Version: 1.0.11 System: Mac OS X 10.10.3 Thrown From: lazy-motion package, v0.1.13
Stack Trace
Uncaught TypeError: Cannot read property 'querySelector' of null
Commands
Config
Installed Packages