mdx-deck icon indicating copy to clipboard operation
mdx-deck copied to clipboard

Use opt+f to go fullscreen

Open ravanscafi opened this issue 5 years ago • 2 comments

I was having trouble with going fullscreen on firefox (the navbar would not go away on fullscreen, not sure why), so I created this logic for a presentation myself. I think it's a cool feature and could help others, so I created this PR.

I used a simple "polyfill" just in case, but I can change anything as desired, add more docs, etc :)

ravanscafi avatar Oct 01 '19 12:10 ravanscafi

Great addition that I wanted to do myself, too to be able to get "real" fullscreen presentations in all situations.

I have tested it and it also works when two windows are open in presenter mode. If you want to polish, you could also catch the msRequestFullscreen vendor prefix and catch the case when none is found at all.

I can't merge though (not the maintainer).

nkuehn avatar Jan 03 '20 14:01 nkuehn

@jxnblk I was wondering that is there any plan to merge this PR? This feature is very helpful and it's a very straightforward way to make it fullscreen. It would be great if this can be merged.

aszx87410 avatar Mar 02 '20 09:03 aszx87410