fix: initial hidden state for shadow-box component (#5639)
* Ensure shadow-box starts hidden on initial render. * add comment to explain not obvious style fix --------- Co-authored-by: anovazzi1 <otavio2204@gmail.com> Co-authored-by: Gabriel Luiz Freitas Almeida <gabriel@langflow.org>
This commit is contained in:
parent
e00ee88e06
commit
6b02ef0a70
1 changed files with 2 additions and 0 deletions
|
|
@ -630,6 +630,8 @@ export default function Page({ view }: { view?: boolean }): JSX.Element {
|
||||||
backgroundColor: `${shadowBoxBackgroundColor}`,
|
backgroundColor: `${shadowBoxBackgroundColor}`,
|
||||||
opacity: 0.7,
|
opacity: 0.7,
|
||||||
pointerEvents: "none",
|
pointerEvents: "none",
|
||||||
|
// Prevent shadow-box from showing unexpectedly during initial renders
|
||||||
|
display: "none",
|
||||||
}}
|
}}
|
||||||
></div>
|
></div>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue