Skip to content
This repository has been archived by the owner on Jun 21, 2022. It is now read-only.

Loading Clockpicker in jQuery Modal #123

Open
hemalpatel opened this issue Jul 3, 2018 · 3 comments
Open

Loading Clockpicker in jQuery Modal #123

hemalpatel opened this issue Jul 3, 2018 · 3 comments

Comments

@hemalpatel
Copy link

Did not work.
I tried adding a clock picker in jQuery modal.

Here is the plunkr
https://next.plnkr.co/plunk/42eVrcmfkr5FLWa5

I tried keeping it outside the Modal and it loads fine.

@hiddentotem
Copy link

Same problem here

@rychardhiago
Copy link

.clockpicker-popover{
z-index: 2051;
}

This css works here.

@Amin-Gamal
Copy link

I had the same problem, and solved it in this way

//Do this before you initialize any of your modals
$.fn.modal.Constructor.prototype.enforceFocus = function () {
$('.clockpicker').clockpicker({
afterShow: function () {
$('.clockpicker-popover').css('z-index', 99999);
}
});
};

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants