eeditiones / tei-publisher-components

Web components used by TEI Publisher and apps generated by it
https://cdn.tei-publisher.com/
GNU General Public License v3.0
18 stars 15 forks source link

Web component "pb-timeline" not working on chrome #184

Open enricolucakindle opened 3 weeks ago

enricolucakindle commented 3 weeks ago

The pb-timeline web component doesn't work in Google Chrome and Safari if used outside of TEI Publisher. All other web components are working fine in Chrome and Safari, just the timeline component doesn't appear on the page. There are also no errors in the browser console. When including the timeline component on a page template inside TEI Publisher it is working correctly in all browsers, only outside of TEI Publisher the componennt doesn't work. Also, on Firefox the timeline is appearing correctly outside of TEI Publisher.

DrRataplan commented 3 weeks ago

Hey there!

Can you tell a bit more what you are seeing? Do you maybe have a page somewhere online where I can see what you're seeing? If I navigate to the example online (https://cdn.tei-publisher.com/@2.23.2/dist/api.html#pb-timeline.1) I'm seeing a timeline just fine. I'm also in Chrome.

enricolucakindle commented 1 week ago

hi @DrRataplan

the page is not yet published yet, but i can give you some more information.

we have a tei instance running with all the data and the odd we have a website, which integrates the tei data using web components.

if we access the timeline outside of the website on the direct link, it works. if we access the timeline on firefox, it works as well.

this screenshot shows the problem - the timeline itself is not available on chrome (on the left side is firefox)

image

the console logs do not output any related issues

thanks