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

Please add a setting to lightbox to always show the UI #4874

Open
BernhardBaumrock opened this issue Sep 1, 2023 · 0 comments
Open

Please add a setting to lightbox to always show the UI #4874

BernhardBaumrock opened this issue Sep 1, 2023 · 0 comments
Labels
! Feature A new feature request

Comments

@BernhardBaumrock
Copy link

Summary

I'm using uk-lightbox and it's great. I'm showing a booking service on a website for a doctor. The problem is that when not moving the mouse on that page for some time the UI completely disappears and it might not be obvious to visitors that they can close the lightbox after they have booked an appointment.

I have this fix in place, but that makes the UI stay visible across all lightboxes on the site. On galleries it might be nice to hide the UI after some time, so it would be great to have a setting for that.

.uk-lightbox .uk-transition-slide-top {
    transform: translateY(0) !important;
}
.uk-lightbox .uk-transition-slide-bottom {
    transform: translateY(0) !important;
}

Maybe something like this?

<div uk-lightbox="hideui: false;">...</div>

Where hideui could define the delay in ms or stay visible all the time if using false?

Priority

4 - I've had that need several times, for example when showing youtube videos in iframes where the close button disappears as well.

Thx in advance!

@BernhardBaumrock BernhardBaumrock added the ! Feature A new feature request label Sep 1, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
! Feature A new feature request
Projects
None yet
Development

No branches or pull requests

1 participant