-
Notifications
You must be signed in to change notification settings - Fork 22
shadow dom is attached to checkboxes, breaking them #4
Comments
@mark-hahn Sorry for the trouble, but I can't reproduce this. Maybe you could modify the test I set up here to flush out the issue? I am able to check a checkbox via the 'checked' attribute in that example. What am I missing? |
You are testing the input element for the presence of the checked I assume the problem is created the empty shadow dom. My understanding is On Tue, Jan 6, 2015 at 10:43 AM, Nathan Sobo notifications@github.com
|
When I run that test I see the box checked on my screen. Is that not what you see? |
I didn't actually run it. I'll do that now. On Tue, Jan 6, 2015 at 1:19 PM, Nathan Sobo notifications@github.com
|
I hate to show my ignorance, but how do I run that spec? I copied it into the spec for a newly generated sample project and tested the package with ctrl-alt-p but all I got was an empty Spec Suite window with the chrome inspector showing style tags and nothing else. |
Duh, I need to change |
You should be able to run that spec directly out of that branch. |
I can't get the spec to work but check this out ... |
Answered this in the other thread. Check it out over there. |
Edit: This post is outdated. See the next post... Unfortunately this needs to be opened again. It is happening in a new place in my UI even though I've replaced all instances of I will try to make another test case for this but it is getting to be a PITA. Can't we just get the real problem fixed? We already have a way to repeat the problem. Edit: And it still has the mysterious |
This can stay closed. I'm sorry I wasted your time. I understand what is going on now. In jQuery 1.6 there was a major breaking change. The
I still have the problem but I'm assuming some library is using |
See atom/atom#4819
My input checkboxes all have a shadow-root attached after using
$$
. When I add checked="checked" to them using$chk.attr checked:yes
nothing happens. This makes checkboxes pretty much useless.I've traced the
$$
code and I don't see the shadow-root being attached but I see shadow-root in the DOM immediately after innerhtml is set.The only thing suspicious I see is the
is=space-pen-div
surrounding the input. But space-pen-div seems to only have the attach and detach callbacks set to empty functions.I searched this repo for "createShadowRoot" and found nothing.
Some help please? The only work-around I can think of is to ditch space-pen which would be a bummer.
The text was updated successfully, but these errors were encountered: