YOOtheme Pro is here! The best WordPress and Joomla theme. Learn more

Avatar houston.digital asked

UI Kit - Modal Problem

Hi, the modal component has a problem when it's long and a scrollbar is displayed (in the browser, not in the modal)
If you click the scrollbar to actually scroll, once you release the click, the modal just fade out. It shouldn't have that behaviour since you are 'scrolling', not clicking outside of the modal to close it.


EDIT
Hi Hendrik, please go here and open the one Center - With Scrollbar (it has the browser scrollbar, not a modal scrollbar with overflow, and when you click there the modal fades away)

  • UIkit

Edited

1 Answer

1

Avatar hendrik Yootheme answered

Hi,

i can not confirm the issue you describe. When there is long content inside the modal the scrollbar does work without issues for me.
https://getuikit.com/docs/modal#modal-overflow

Do you have an example where i can inspect this?

UPDATE
I see the issue now and we have added it to the todo list.
The current workaround would be to use the class 'uk-overflow-auto' to create the scrollbars inside the modal.

Regards

Edited

Know someone who can answer? Share a link to this question via email or twitter.