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
Here's a how to add some HTML formatting to your comment:
  • <pre></pre> for JS codes block
  • <pre lang="html"></pre> for HTML code block
  • <pre lang="scss"></pre> for SCSS code block
  • <pre lang="php"></pre> for PHP code block
  • <code></code> for single line of code
  • <strong></strong> to make things bold
  • <em></em> to emphasize
  • <ul><li></li></ul>  to make list
  • <ol><li></li></ol>  to make ordered list
  • <h3></h3> to make headings
  • <a></a> for links
  • <img> to paste in an image
  • <blockquote></blockquote> to quote somebody
  • happy  :)
  • shocked  :|
  • sad  :(

Replies (3)


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
Here's a how to add some HTML formatting to your comment:
  • <pre></pre> for JS codes block
  • <pre lang="html"></pre> for HTML code block
  • <pre lang="scss"></pre> for SCSS code block
  • <pre lang="php"></pre> for PHP code block
  • <code></code> for single line of code
  • <strong></strong> to make things bold
  • <em></em> to emphasize
  • <ul><li></li></ul>  to make list
  • <ol><li></li></ol>  to make ordered list
  • <h3></h3> to make headings
  • <a></a> for links
  • <img> to paste in an image
  • <blockquote></blockquote> to quote somebody
  • happy  :)
  • shocked  :|
  • sad  :(
Text formatting options
Submit
Here's a how to add some HTML formatting to your comment:
  • <pre></pre> for JS codes block
  • <pre lang="html"></pre> for HTML code block
  • <pre lang="scss"></pre> for SCSS code block
  • <pre lang="php"></pre> for PHP code block
  • <code></code> for single line of code
  • <strong></strong> to make things bold
  • <em></em> to emphasize
  • <ul><li></li></ul>  to make list
  • <ol><li></li></ol>  to make ordered list
  • <h3></h3> to make headings
  • <a></a> for links
  • <img> to paste in an image
  • <blockquote></blockquote> to quote somebody
  • happy  :)
  • shocked  :|
  • sad  :(

React Dev Vacancy

KeenThemes is looking for a Junior React or Vue developer to build awesome apps.
Apply
keenthemes mega bundle