2

I use LWC and Tree Grid data strcuture.

My component looks like this in Firefox, Safari:

enter image description here

But it's not highlighted in Chrome:

enter image description here

How to make it work in Chrome? As most of people use it as default browser.

1
  • Hi, What you have tried so far? Please add the relevant code here. May 7 '20 at 10:25
2

I believe this is an SLDS issue. Open below url in Chrome and Safari you will see even in the documentation it doesn't work on Chrome.

https://developer.salesforce.com/docs/component-library/bundle/lightning:tree/example

I applied aria-selected="true" manually and it worked. If this is crucial for you maybe you can try the same.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.