Skip to content

[Feature Request]: ProductSwitch: Number of Items per Line should be responsive #9864

@bachlge

Description

@bachlge

Feature Request Description

By specification the columns count is determinated by 2 things:

  • items number (if items are > 6 show 4 columns and if they are <= 6 show 3 columns)
  • available screen width (desktop based on items count, tablet 3 and mobile 1)

There is no API to override this default behaviour.

On bigger screens, there is a lot of empty space because of this non-responsive behaviour. See Basic Sample on Playground.

Proposed Solution

ProductSwitch should be fully responsive, determining column number dynamically by available space and make use of the available space.

Proposed Alternatives

Provide public methods for properties like useAllSpace, numColumns, minColumns, maxColumns.
or
Leave it as it is with poor look and feel.

Organization

No response

Additional Context

#9733 (reply in thread)

Priority

None

Privacy Policy

  • I’m not disclosing any internal or sensitive information.

Metadata

Metadata

Assignees

Projects

Status

New

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions