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

Password Meter Control Broken in Latest Update


I upgraded a project to Metronic 8.0.36 and noticed that the Password Meter Control no longer auto-adjusts the password strength meter bar. I verified by pulling up the free-trial-sign-up form from version 8.0.35 and 8.0.36, and while it works as expected in 8.0.35, it does not work in 8.0.36. Is the change in behavior by design or a bug?


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 (3)


cdwcvfqvf



Hi,

Good spot. We will fix the issue in the next update. As a hot fix you can replace src/sass/components/helpers/_background.scss by downloading the fixed version from _background.scss

Regard



On further investigation, I've isolated the issue to a difference in the style.bundle.css files between version 8.0.35 and 8.0.36. It seems the class .bg-active-success has lost the !important keyword for the background color. In fact there are quite a few highlight classes that no longer have the !important keyword.

For anyone who comes across this issue, I fixed my issue by putting back the !important keyword for the background-color property in the .bg-active-success class. If you find other elements affected, might also be worthwhile to update all of the background classes starting with .bg-white, all the way through to bg-state-lighten:hover


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  :(