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

.pdf websites embedded with layout: iframe are unstable in Safari #1541

Closed
gy-mate opened this issue Apr 16, 2024 · 2 comments
Closed

.pdf websites embedded with layout: iframe are unstable in Safari #1541

gy-mate opened this issue Apr 16, 2024 · 2 comments

Comments

@gy-mate
Copy link
Contributor

gy-mate commented Apr 16, 2024

Describe the bug

If I open a slide with a website embedded by layout: iframe and click on a link on that site that points to a .pdf file...

  • two-finger scrolling doesn't work for a few seconds
  • it only recognizes clicks and scrolling in the blue box (the controls are also in the wrong place):
    Screenshot 2024-04-16 at 23 25 49
  • using the scrollbar is unstable—it often gets stuck in a position while scrolling:

To reproduce

Steps to reproduce the behavior:

  1. Clone this repo
  2. git checkout dev_main
  3. git checkout 586fa61b
  4. cd presentation
  5. npx slidev
  6. Go to slide 10
  7. Click on Adony

Desktop

  • OS: macOS 14.4.1
  • Browser: Safari 17.4.1 (it works fine in Microsoft Edge 123.0.2420.81 and Chrome 123.0.6312.124)
  • Slidev version: v0.49.0-beta.3 (global)
@KermanX
Copy link
Member

KermanX commented May 8, 2024

I think we can't fix this by editing Slidev's source code. Feel free to reopen this issue if a possible solution is found.

@KermanX KermanX closed this as completed May 8, 2024
@gy-mate
Copy link
Contributor Author

gy-mate commented May 8, 2024

You're right, this seems like a Safari bug.

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