Skip to content

Resizable knockout binding does not work on the frontend #32753

@martasiewierska

Description

@martasiewierska

Preconditions (*)

  1. Magento 2.4.2

Steps to reproduce (*)

  1. Add resizable knockout binding for UI Component template (for example minicart) as described in the documentation: https://devdocs.magento.com/guides/v2.4/ui_comp_guide/concepts/knockout-bindings.html#resizable

Expected result (*)

  1. There is a resizable element visible, with controls attached
  2. No error in the console

Actual result (*)

  1. There is a console error:

error

2. if line 124 in resizable.js is commented out resizable is binded without error. However as styles are not included controls that are added are not visible, so component is useless.

resizab

It seems to me that this component is used only in the admin panel. I have checked issues and no one reported problems with resizable. Maybe it would be useful to mark this binding as admin only and do not load unnecessary javascript on the frontend side.


Please provide Severity assessment for the Issue as Reporter. This information will help during Confirmation and Issue triage processes.

  • Severity: S0 - Affects critical data or functionality and leaves users without workaround.
  • Severity: S1 - Affects critical data or functionality and forces users to employ a workaround.
  • Severity: S2 - Affects non-critical data or functionality and forces users to employ a workaround.
  • Severity: S3 - Affects non-critical data or functionality and does not force users to employ a workaround.
  • Severity: S4 - Affects aesthetics, professional look and feel, “quality” or “usability”.

Metadata

Metadata

Labels

Component: UiFixed in 2.4.xThe issue has been fixed in 2.4-develop branchIssue: ConfirmedGate 3 Passed. Manual verification of the issue completed. Issue is confirmedPriority: P2A defect with this priority could have functionality issues which are not to expectations.Progress: doneReproduced on 2.4.xThe issue has been reproduced on latest 2.4-develop branchSeverity: S2Major restrictions or short-term circumventions are required until a fix is available.

Type

No type

Projects

Status

Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions