soundasleep / jquery-dropdown

Bootstrap-style dropdowns with some added features and no dependencies.
Other
767 stars 268 forks source link

Clicks on UI in dropdown-panel hides the panel #56

Closed dsathyan closed 10 years ago

dsathyan commented 10 years ago

I am using this dropdown to set few parameters which include datepicker. If I click on changing year/month, the panel gets hidden. How do I stop this?

One more minor thing - Could you add an example for dropdown with tool-tip? The document says that it is by adding 'dropdown-tip' class. But where do I add the text for the tip?

claviska commented 10 years ago

I am using this dropdown to set few parameters which include datepicker. If I click on changing year/month, the panel gets hidden. How do I stop this?

If you want to keep the dropdown open while the date picker is also open, you'll have to modify the hide() function a bit.

Could you add an example for dropdown with tool-tip? The document says that it is by adding 'dropdown-tip' class. But where do I add the text for the tip?

Are you talking about these tips or actual tooltips?

image

If you're talking about the dropdown tips then you can view the source of the demo to see the code.