Skip to content
This repository was archived by the owner on Aug 5, 2019. It is now read-only.

DateBox inside DialogBox doesn't seem to work #413

Open
syrinx2012 opened this issue Jul 26, 2013 · 3 comments
Open

DateBox inside DialogBox doesn't seem to work #413

syrinx2012 opened this issue Jul 26, 2013 · 3 comments
Labels

Comments

@syrinx2012
Copy link

I'm trying to convert an existing GWT application to use GWT Bootstrap components instead of "native" GWT components. For some reason, it looks like com.github.gwtbootstrap.datepicker.client.ui.DateBox won't work as a replacement for com.google.gwt.user.datepicker.client.DateBox inside a GWT DialogBox (The calendar is displayed but cannot select date or change month). However, if I replace my DialogBox with a Bootstrap Modal the com.github.gwtbootstrap.datepicker.client.ui.DateBox seems to work fine.

@JulienOrain
Copy link
Contributor

Hi,
I am having the exact same issue. However, I can't use the Bootstrap Modal in my application to be consistent.
Is it any way to fix it ? Do you have some workaround ?
Thanks in advance.
Regards,
Julien Orain

@syrinx2012
Copy link
Author

Hi Julien,

Sorry to disappoint you, but I decided not to use GWT Bootstrap for now. Although it seems like great idea to have GWT component library based on Bootstrap, i find that there is way too much bugs and not enough support. But still, if you find a solution to this one, I would appreciate if you could share the rest of us.

Thank you!

@JulienOrain
Copy link
Contributor

It appears that it works if the Dialog box is not considered as modal (setModal(false)).
The reason is that the dialog box captures also events outside of the box.
In my case, I have a background div behind my dialog box to do not allow clicks on the mail panel.

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

No branches or pull requests

2 participants