@dvrd/dvr-controls 1.0.77 → 1.0.78
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -354,7 +354,7 @@ function DatePicker(props: DatePickerProps) {
|
|
|
354
354
|
useEffect(() => {
|
|
355
355
|
if (open) {
|
|
356
356
|
document.addEventListener('keydown', keyListener);
|
|
357
|
-
addMountClass
|
|
357
|
+
defer(addMountClass);
|
|
358
358
|
window.setTimeout(removeMountClass, 1000);
|
|
359
359
|
} else {
|
|
360
360
|
document.removeEventListener('keydown', keyListener);
|
|
@@ -384,7 +384,7 @@ function DatePicker(props: DatePickerProps) {
|
|
|
384
384
|
|
|
385
385
|
return (
|
|
386
386
|
<WithBackground active={open} onClose={onClose}>
|
|
387
|
-
<div className='picker' ref={divRef}>
|
|
387
|
+
<div className={classNames('picker', alwaysShowArrows && 'switch-mount')} ref={divRef}>
|
|
388
388
|
<div className='switcher year'>
|
|
389
389
|
{renderSwitcher('year', 'reduce')}
|
|
390
390
|
<label className='switcher-label'
|