M: Remove unnecessary will-change attributes

This commit is contained in:
Ivan 2025-03-12 23:11:07 +03:00
parent 3841a7ad68
commit bc3d4e0f26
3 changed files with 0 additions and 3 deletions

View File

@ -100,7 +100,6 @@ export function RSEditorControls({ isOpen, disabled, onEdit }: RSEditorControlsP
style={{ style={{
clipPath: isOpen ? 'inset(0% 0% 0% 0%)' : 'inset(0% 0% 100% 0%)', clipPath: isOpen ? 'inset(0% 0% 0% 0%)' : 'inset(0% 0% 100% 0%)',
marginTop: isOpen ? '0.25rem' : '0rem', marginTop: isOpen ? '0.25rem' : '0rem',
willChange: 'max-height',
transitionProperty: 'max-height', transitionProperty: 'max-height',
transitionDuration: `${PARAMETER.moveDuration}ms`, transitionDuration: `${PARAMETER.moveDuration}ms`,
maxHeight: isOpen ? '4.5rem' : '0rem' maxHeight: isOpen ? '4.5rem' : '0rem'

View File

@ -81,7 +81,6 @@ export function ViewHidden({ items }: ViewHiddenProps) {
style={{ style={{
pointerEvents: isFolded ? 'none' : 'auto', pointerEvents: isFolded ? 'none' : 'auto',
maxHeight: hiddenHeight, maxHeight: hiddenHeight,
willChange: 'clip-path',
transitionProperty: 'clip-path', transitionProperty: 'clip-path',
transitionDuration: `${PARAMETER.fastAnimation}ms`, transitionDuration: `${PARAMETER.fastAnimation}ms`,
transitionTimingFunction: 'ease-out', transitionTimingFunction: 'ease-out',

View File

@ -36,7 +36,6 @@ export function ViewConstituents({ className, isBottom, isMounted }: ViewConstit
className className
)} )}
style={{ style={{
willChange: 'opacity, max-width',
transitionProperty: 'opacity, max-width', transitionProperty: 'opacity, max-width',
transitionDuration: `${2 * PARAMETER.moveDuration}ms`, transitionDuration: `${2 * PARAMETER.moveDuration}ms`,
transitionTimingFunction: 'ease-in-out', transitionTimingFunction: 'ease-in-out',