AnyPicker icon indicating copy to clipboard operation
AnyPicker copied to clipboard

Disable auto hide

Open ashish-negi opened this issue 4 years ago • 1 comments
trafficstars

Is there any way to disable auto hide? I want to show inline datetimepicker always. It automatically hides when I click anywhere on the document.

ashish-negi avatar Nov 08 '21 06:11 ashish-negi

I am using the onBeforeHidePicker callback function to achieve this. I am throwing an error for specific condition to break auto close feature.

function cfOnBeforeHidePicker() { // disable auto close timepicker if (CONDITION) { throw new Error("Do not hide the timepicker. throw exception"); } }

Is there any other solution?

ashish-negi avatar Nov 08 '21 07:11 ashish-negi