Super Sale Limited Time 50% OFF for All-Access Plans
Save 50% Now

Updating animation / transitions


Hi, I am running an older version of Metronic on React, and would like to update the code to use the new animations.

For example, https://preview.keenthemes.com/metronic8/react/demo7/dashboard when clicking on New Member, the popup is more smoothly transitioned, and not instant.

Where can I find it in the code?


Text formatting options
Submit
Click any option to insert into your comment. Select text first to wrap it.
  • **text** to make things bold
  • *text* to emphasize
  • ### Heading to make headings
  • [link text](url) for links
  • ![alt text](image-url) to paste in an image
  • - item to make a list
  • 1. item to make an ordered list
  • > quote to quote somebody
  • `code` for single line of code
  • ```js ... ``` for JS code block
  • ```html ... ``` for HTML code block
  • ```scss ... ``` for SCSS code block
  • ```php ... ``` for PHP code block
  • --- for a horizontal rule
  • happy  :)
  • shocked  :|
  • sad  :(

Replies (20)


Hi,

Thank you for reaching out to us.

If you want to remove menu animation you can set $menu-dropdown-animation to false in file src/assets/sass/core/components/_variables.scss.

This will remove animation from all menu instances in the whole project.

Regards,
Lauris Stepanovs,
Keenthemes Support Team



Thank you, I am actually trying to add the animations. For example:

Via this link: https://preview.keenthemes.com/metronic8/react/demo7/dashboard
- Click on New Member
- You can see the animation / transition is very fluid

Other link: https://preview.keenthemes.com/metronic8/react/demo7/apps/user-management/users
- Click on Add User
- You can see it is instant and no animation

How do I get the opening of modals to use an animation?



Hi,

Modal on user-managment page is used as a static modal, and it is rendered conditionally in the file src/app/modules/apps/user-management/users-list/UsersList.tsx.

To add a transition for this modal you need to make this modal dynamic, you can refer to examples on react-bootstrap modal docs page.

Regards,
Lauris Stepanovs,
Keenthemes Support Team


Text formatting options
Submit
Click any option to insert into your comment. Select text first to wrap it.
  • **text** to make things bold
  • *text* to emphasize
  • ### Heading to make headings
  • [link text](url) for links
  • ![alt text](image-url) to paste in an image
  • - item to make a list
  • 1. item to make an ordered list
  • > quote to quote somebody
  • `code` for single line of code
  • ```js ... ``` for JS code block
  • ```html ... ``` for HTML code block
  • ```scss ... ``` for SCSS code block
  • ```php ... ``` for PHP code block
  • --- for a horizontal rule
  • happy  :)
  • shocked  :|
  • sad  :(
Text formatting options
Submit
Click any option to insert into your comment. Select text first to wrap it.
  • **text** to make things bold
  • *text* to emphasize
  • ### Heading to make headings
  • [link text](url) for links
  • ![alt text](image-url) to paste in an image
  • - item to make a list
  • 1. item to make an ordered list
  • > quote to quote somebody
  • `code` for single line of code
  • ```js ... ``` for JS code block
  • ```html ... ``` for HTML code block
  • ```scss ... ``` for SCSS code block
  • ```php ... ``` for PHP code block
  • --- for a horizontal rule
  • happy  :)
  • shocked  :|
  • sad  :(