mirror of
https://github.com/ToolJet/ToolJet
synced 2026-05-24 09:28:31 +00:00
hotfix : Datepicker popover coming behind other components in viewer mode (#9965)
* fix : datepicker popover coming behind other components in viewer mode * added viewer check * update zindex * chore version bump
This commit is contained in:
parent
3f407530bd
commit
750b5f53e6
4 changed files with 4 additions and 4 deletions
2
.version
2
.version
|
|
@ -1 +1 @@
|
||||||
2.60.2
|
2.60.3
|
||||||
|
|
|
||||||
|
|
@ -1 +1 @@
|
||||||
2.60.2
|
2.60.3
|
||||||
|
|
|
||||||
|
|
@ -1054,7 +1054,6 @@ const WidgetWrapper = ({
|
||||||
...(isGhostComponent ? { opacity: 0.5 } : {}),
|
...(isGhostComponent ? { opacity: 0.5 } : {}),
|
||||||
...(isWidgetActive ? { zIndex: 3 } : {}),
|
...(isWidgetActive ? { zIndex: 3 } : {}),
|
||||||
};
|
};
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<>
|
<>
|
||||||
<div
|
<div
|
||||||
|
|
@ -1070,6 +1069,7 @@ const WidgetWrapper = ({
|
||||||
widgetid={id}
|
widgetid={id}
|
||||||
style={{
|
style={{
|
||||||
transform: `translate(332px, -134px)`,
|
transform: `translate(332px, -134px)`,
|
||||||
|
zIndex: mode === 'view' && widget.component.component == 'Datepicker' ? 2 : null,
|
||||||
...styles,
|
...styles,
|
||||||
}}
|
}}
|
||||||
>
|
>
|
||||||
|
|
|
||||||
|
|
@ -1 +1 @@
|
||||||
2.60.2
|
2.60.3
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue