mirror of
https://github.com/IRBorisov/ConceptPortal.git
synced 2025-06-25 20:40:36 +03:00
M: Remove unnecessary will-change attributes
This commit is contained in:
parent
3841a7ad68
commit
bc3d4e0f26
|
@ -100,7 +100,6 @@ export function RSEditorControls({ isOpen, disabled, onEdit }: RSEditorControlsP
|
|||
style={{
|
||||
clipPath: isOpen ? 'inset(0% 0% 0% 0%)' : 'inset(0% 0% 100% 0%)',
|
||||
marginTop: isOpen ? '0.25rem' : '0rem',
|
||||
willChange: 'max-height',
|
||||
transitionProperty: 'max-height',
|
||||
transitionDuration: `${PARAMETER.moveDuration}ms`,
|
||||
maxHeight: isOpen ? '4.5rem' : '0rem'
|
||||
|
|
|
@ -81,7 +81,6 @@ export function ViewHidden({ items }: ViewHiddenProps) {
|
|||
style={{
|
||||
pointerEvents: isFolded ? 'none' : 'auto',
|
||||
maxHeight: hiddenHeight,
|
||||
willChange: 'clip-path',
|
||||
transitionProperty: 'clip-path',
|
||||
transitionDuration: `${PARAMETER.fastAnimation}ms`,
|
||||
transitionTimingFunction: 'ease-out',
|
||||
|
|
|
@ -36,7 +36,6 @@ export function ViewConstituents({ className, isBottom, isMounted }: ViewConstit
|
|||
className
|
||||
)}
|
||||
style={{
|
||||
willChange: 'opacity, max-width',
|
||||
transitionProperty: 'opacity, max-width',
|
||||
transitionDuration: `${2 * PARAMETER.moveDuration}ms`,
|
||||
transitionTimingFunction: 'ease-in-out',
|
||||
|
|
Loading…
Reference in New Issue
Block a user