Holiday Notice: Support will be provided on a limited scale from December 24th, 2024, to January 2nd, 2025. Happy holidays and a wonderful New Year!


Topic: Product hover ecommerce

Danny priority asked 1 year ago


Hi,

I dont know why nobody noticed it earlier because this problem is here already since the start of MDB5, but now its te first time I need to use it.

When you hover the product to see a bigger version, you only see the middle ofo the image. The scale has a really bad calculation: https://mdbootstrap.com/snippets/standard/mdbootstrap/3777139.

Please fix this.


Kamila Pieńkowska staff answered 1 year ago


this is not a bug. Some clients need exactly that.

If you want a different scale you need to change its value in the source code. In line:

Manipulator.style(this._activeImg, { transform: `scale(4.5) translate(${x}px, ${y}px)` });


Please insert min. 20 characters.

FREE CONSULTATION

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

Status

Answered

Specification of the issue

  • ForumUser: Priority
  • Premium support: Yes
  • Technology: MDB Standard
  • MDB Version: MDB5 6.2.0
  • Device: Laptop
  • Browser: Chrom
  • OS: Windows 11
  • Provided sample code: No
  • Provided link: Yes