Skip to content
This repository was archived by the owner on Sep 11, 2024. It is now read-only.

Commit b84af37

Browse files
committed
Bump animation time for breadcrumbs up to 640ms
This matches the design, unlike the 300ms which was too fast.
1 parent 1467191 commit b84af37

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

res/css/views/rooms/_RoomBreadcrumbs2.scss

+1-1
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ limitations under the License.
3939

4040
// Timing function is as-requested by design.
4141
// NOTE: The transition time MUST match the value passed to CSSTransition!
42-
transition: margin-left 300ms cubic-bezier(0.66, 0.02, 0.36, 1);
42+
transition: margin-left 640ms cubic-bezier(0.66, 0.02, 0.36, 1);
4343
}
4444

4545
.mx_RoomBreadcrumbs2_placeholder {

src/components/views/rooms/RoomBreadcrumbs2.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ export default class RoomBreadcrumbs2 extends React.PureComponent<IProps, IState
104104
// NOTE: The CSSTransition timeout MUST match the timeout in our CSS!
105105
return (
106106
<CSSTransition
107-
appear={true} in={this.state.doAnimation} timeout={300}
107+
appear={true} in={this.state.doAnimation} timeout={640}
108108
classNames='mx_RoomBreadcrumbs2'
109109
>
110110
<div className='mx_RoomBreadcrumbs2'>

0 commit comments

Comments
 (0)