thescientist13 / greenwood-starter-presentation

A Greenwood plugin and general purpose starter kit for creating slide decks and presentations from markdown.

Home Page:https://awesome-bhaskara-b7d76c.netlify.app

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

fix focus trap when entering Presenter mode

thescientist13 opened this issue · comments

Type of Change

  • New Feature Request
  • Improvement / Suggestion
  • Bug
  • Other (please clarify below)

Summary

When going into Presenter mode, if you click the mouse such that the focus moves to the <iframe> moving left / right through the slides doesn't work.

Details

Not sure if this is just a matter of making sure all events bubble up? I know the <iframe> is in a shadow root, maybe that's why the events don't capture? Which is interesting, since the event handler is also set within a shadow DOM though? 🤔


Somewhat related maybe, but if an alternative to the <iframe> is found as part of #8 , then maybe this problem goes away?