0

I work on a vue web component and after being build it's called inside a JSF project. Inside my web component I wish to synchronize the scroll position of two differente div and found this solution.
After reading it I know it require me to access the elements from inside the component but the problem is that I can't, in any way possible, access those elements.

As mentioned in the title, I need to access thoses elements while still being inside the shadow root not outside.

I tried many things such as mentioned here and here but without much results.

Folamie
  • 111
  • 3
  • StackOverflow is about posting **your own code**, so we can help. Posting answers that _did not work_ for you is like saying "My car doesn't drive, and see all those other cars do drive, why does my car don't drive?" – Danny '365CSI' Engelman Mar 09 '23 at 19:25

0 Answers0