Topic: Bug CardImage has zoom property now hardcoded on

mpcooke4 pro asked 4 years ago

During an npm update my card images all started zooming and the zoom is not configurable in a way that makes it possible to switch off. I think this is a bug introduced a week ago.


Support was added for a zoom property which was defaulted to false - however in the generated JSX you aren't passing the zoom property through so it's hardcoded to zoom.


if (this.props.src) {
return (
<View zoom hover={this.props.hover} cascade={this.props.cascade}>


mpcooke4 pro answered 4 years ago

I think i've managed to pin it to the last commit of 2018 okay as a temporary solution (78707d22), thanks.

Jakub Mandra staff commented 4 years ago

Okay, will inform about the new version when it comes out on our main page. Also you can find more here:

mpcooke4 pro answered 4 years ago

I'm a bit new to the js ecosystem I will see if I can work out how to pin mdbreact to an older version in git until it's fixed in head.

Jakub Mandra staff answered 4 years ago


What a blunder from our side. Thank you for report -> fixed.
Is it kind of problem for you, which can't wait till the next release?


Please insert min. 20 characters.


Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.



Specification of the issue

  • User: Pro
  • Premium support: No
  • Technology: MDB React
  • MDB Version: 4.8.4
  • Device: Macbook
  • Browser: Chrome
  • OS: OsX
  • Provided sample code: Yes
  • Provided link: No