Code Monkey home page Code Monkey logo

Comments (17)

plwalters avatar plwalters commented on July 28, 2024

Actually I think this is due to show's behavior in the shadow DOM

from metadata.

EisenbergEffect avatar EisenbergEffect commented on July 28, 2024

@PWKad Could this be that the style used by the show attribute is not penetrating the shadow dom barrier? @mattduffield What is the behavior you are seeing? Is it that all the tabs are visible? But everything else is working?

from metadata.

mattduffield avatar mattduffield commented on July 28, 2024

Yes, you are correct. It is how Rob is describing. When I updated to the
latest, I saw all the tabs visible. Everything else seemed to work just
fine outside of the tabs.

On Mon, May 4, 2015 at 10:37 PM, Rob Eisenberg [email protected]
wrote:

@PWKad https://github.com/PWKad Could this be that the style used by
the show attribute is not penetrating the shadow dom barrier?
@mattduffield https://github.com/mattduffield What is the behavior you
are seeing? Is it that all the tabs are visible? But everything else is
working?


Reply to this email directly or view it on GitHub
#11 (comment).

from metadata.

EisenbergEffect avatar EisenbergEffect commented on July 28, 2024

I wonder, if you were to move the style inside the custom element, if that would solve the issue. This presents a really interesting issue, if it is what I think it is.

from metadata.

EisenbergEffect avatar EisenbergEffect commented on July 28, 2024

@mattduffield Can you check in a browser that doesn't support shadow dom and see if everything works correctly for you? For example, safari of FF.

from metadata.

mattduffield avatar mattduffield commented on July 28, 2024

Safari works just fine on the Mac.
FireFox also works fine on the Mac.

On Mon, May 4, 2015 at 10:45 PM, Rob Eisenberg [email protected]
wrote:

@mattduffield https://github.com/mattduffield Can you check in a
browser that doesn't support shadow dom and see if everything works
correctly for you? For example, safari of FF.


Reply to this email directly or view it on GitHub
#11 (comment).

from metadata.

mattduffield avatar mattduffield commented on July 28, 2024

I tested this with the attribute commented out....did you want me to test
with it uncommented?

On Mon, May 4, 2015 at 10:50 PM, Matt Duffield [email protected]
wrote:

Safari works just fine on the Mac.
FireFox also works fine on the Mac.

On Mon, May 4, 2015 at 10:45 PM, Rob Eisenberg [email protected]
wrote:

@mattduffield https://github.com/mattduffield Can you check in a
browser that doesn't support shadow dom and see if everything works
correctly for you? For example, safari of FF.


Reply to this email directly or view it on GitHub
#11 (comment).

from metadata.

mattduffield avatar mattduffield commented on July 28, 2024

Okay,

I tested both Safari and FireFox using @useShadowDOM and both worked
perfectly but when I opened the same with Chrome, it didn't work.
When I had @useShadowDOM commented out, all three worked fine.

On Mon, May 4, 2015 at 10:51 PM, Matt Duffield [email protected]
wrote:

I tested this with the attribute commented out....did you want me to test
with it uncommented?

On Mon, May 4, 2015 at 10:50 PM, Matt Duffield [email protected]
wrote:

Safari works just fine on the Mac.
FireFox also works fine on the Mac.

On Mon, May 4, 2015 at 10:45 PM, Rob Eisenberg [email protected]
wrote:

@mattduffield https://github.com/mattduffield Can you check in a
browser that doesn't support shadow dom and see if everything works
correctly for you? For example, safari of FF.


Reply to this email directly or view it on GitHub
#11 (comment).

from metadata.

EisenbergEffect avatar EisenbergEffect commented on July 28, 2024

So, the show attribute will apply a style to the element based on true/false values. I believe that style is not having an affect because it's not visible inside the shadow DOM. Try using an if binding instead of show and see if that works. That's not a fix for our bug, but might get your code working for now.

from metadata.

mattduffield avatar mattduffield commented on July 28, 2024

Switching to if.bind the tabs become selected but no content is visible
across all three browsers.

On Mon, May 4, 2015 at 10:53 PM, Rob Eisenberg [email protected]
wrote:

So, the show attribute will apply a style to the element based on
true/false values. I believe that style is not having an affect because
it's not visible inside the shadow DOM. Try using an if binding instead
of show and see if that works. That's not a fix for our bug, but might
get your code working for now.


Reply to this email directly or view it on GitHub
#11 (comment).

from metadata.

EisenbergEffect avatar EisenbergEffect commented on July 28, 2024

Ah. Switch your content selector on your tab control to select="*" and see
if that fixes that issue.

On Mon, May 4, 2015 at 10:58 PM, Matt Duffield [email protected]
wrote:

Switching to if.bind the tabs become selected but no content is visible
across all three browsers.

On Mon, May 4, 2015 at 10:53 PM, Rob Eisenberg [email protected]
wrote:

So, the show attribute will apply a style to the element based on
true/false values. I believe that style is not having an affect because
it's not visible inside the shadow DOM. Try using an if binding instead
of show and see if that works. That's not a fix for our bug, but might
get your code working for now.


Reply to this email directly or view it on GitHub
#11 (comment).


Reply to this email directly or view it on GitHub
#11 (comment).

Rob Eisenberg,
President - Blue Spire
www.durandaljs.com

from metadata.

mattduffield avatar mattduffield commented on July 28, 2024

Still using if.binding?

On Mon, May 4, 2015 at 10:59 PM, Rob Eisenberg [email protected]
wrote:

Ah. Switch your content selector on your tab control to select="*" and see
if that fixes that issue.

On Mon, May 4, 2015 at 10:58 PM, Matt Duffield [email protected]
wrote:

Switching to if.bind the tabs become selected but no content is visible
across all three browsers.

On Mon, May 4, 2015 at 10:53 PM, Rob Eisenberg <[email protected]

wrote:

So, the show attribute will apply a style to the element based on
true/false values. I believe that style is not having an affect because
it's not visible inside the shadow DOM. Try using an if binding instead
of show and see if that works. That's not a fix for our bug, but might
get your code working for now.


Reply to this email directly or view it on GitHub
#11 (comment).


Reply to this email directly or view it on GitHub
#11 (comment).

Rob Eisenberg,
President - Blue Spire
www.durandaljs.com


Reply to this email directly or view it on GitHub
#11 (comment).

from metadata.

mattduffield avatar mattduffield commented on July 28, 2024

With if.bind, no change in Chrome.

On Mon, May 4, 2015 at 11:02 PM, Matt Duffield [email protected]
wrote:

Still using if.binding?

On Mon, May 4, 2015 at 10:59 PM, Rob Eisenberg [email protected]
wrote:

Ah. Switch your content selector on your tab control to select="*" and see
if that fixes that issue.

On Mon, May 4, 2015 at 10:58 PM, Matt Duffield [email protected]
wrote:

Switching to if.bind the tabs become selected but no content is visible
across all three browsers.

On Mon, May 4, 2015 at 10:53 PM, Rob Eisenberg <
[email protected]>
wrote:

So, the show attribute will apply a style to the element based on
true/false values. I believe that style is not having an affect
because
it's not visible inside the shadow DOM. Try using an if binding
instead
of show and see if that works. That's not a fix for our bug, but might
get your code working for now.


Reply to this email directly or view it on GitHub
<#11 (comment)
.


Reply to this email directly or view it on GitHub
#11 (comment).

Rob Eisenberg,
President - Blue Spire
www.durandaljs.com


Reply to this email directly or view it on GitHub
#11 (comment).

from metadata.

plwalters avatar plwalters commented on July 28, 2024

Ok I've just come back and tested this with show vs if and for me it is working as expected using if.

I think we can log this bug as the fact that show's style does not penetrate the shadow DOM @EisenbergEffect

from metadata.

plwalters avatar plwalters commented on July 28, 2024

@mattduffield Can you please change the name of this issue to aurelia-hide style does not penetrate shadow DOM

from metadata.

mattduffield avatar mattduffield commented on July 28, 2024

I have updated the name of this issue. Thanks!

On Tue, May 5, 2015 at 9:17 AM, Patrick Walters [email protected]
wrote:

@mattduffield https://github.com/mattduffield Can you please change the
name of this issue to aurelia-hide style does not penetrate shadow DOM


Reply to this email directly or view it on GitHub
#11 (comment).

from metadata.

EisenbergEffect avatar EisenbergEffect commented on July 28, 2024

This has been fixed.

from metadata.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.