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

Fullscreen button #5307

Merged
merged 4 commits into from
Sep 14, 2023
Merged

Fullscreen button #5307

merged 4 commits into from
Sep 14, 2023

Conversation

glewe
Copy link
Contributor

@glewe glewe commented Aug 29, 2023

I added a full screen button to the top menu as it was available in the BS4 version.
I saw that there is a PR for this already but it seems to be outdated.
(This is my first PR here so hopefully I did it right).
Best regards,
George

src/ts/fullscreen.ts Outdated Show resolved Hide resolved
src/html/components/dashboard/_topbar.astro Outdated Show resolved Hide resolved
src/ts/fullscreen.ts Outdated Show resolved Hide resolved
src/html/components/dashboard/_topbar.astro Outdated Show resolved Hide resolved
@glewe glewe requested a review from danny007in August 31, 2023 09:04
package-lock.json Outdated Show resolved Hide resolved
src/ts/fullscreen.ts Show resolved Hide resolved
@danny007in
Copy link
Collaborator

on esc key press, icon is not changing

chrome_kEdLi6OTNf.mp4

@danny007in
Copy link
Collaborator

Make PR commit readable https://www.youtube.com/watch?v=gXCkYkLQ3To

@glewe
Copy link
Contributor Author

glewe commented Sep 12, 2023

on esc key press, icon is not changing

I added an keydown event listener to the fullscreen.ts class. However, I could not get it to change the icon on the first Esc. It takes two Esc events to change. Can you have a look?

@danny007in
Copy link
Collaborator

@glewe
I'm going to make some changes to the code. Please don't push anything

@glewe
Copy link
Contributor Author

glewe commented Sep 13, 2023

@glewe
I'm going to make some changes to the code. Please don't push anything

Ok. Thanks.

@danny007in
Copy link
Collaborator

danny007in commented Sep 14, 2023

f11 and esc are not stable with fullscreenmode.

once check it please. i have pushed some updates

@danny007in danny007in merged commit 18d4b43 into ColorlibHQ:master Sep 14, 2023
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants