Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
enricolucakindle opened this issue Nov 5, 2024 · 2 comments
Open

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

enricolucakindle opened this issue Nov 5, 2024 · 2 comments

Comments

@enricolucakindle
Copy link

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
Copy link
Contributor

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
Copy link
Author

enricolucakindle commented Nov 22, 2024

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants