SAP / ui5-webcomponents-react

A wrapper implementation for React of the UI5 Web Components that are compliant with the SAP Fiori User Experience
https://sap.github.io/ui5-webcomponents-react/
Apache License 2.0
444 stars 100 forks source link

[FilterBar] [uwcr v2]: ToolbarButtons not rendered when hideToolbar is set to true #6461

Closed azhu716 closed 1 month ago

azhu716 commented 1 month ago

Describe the bug

When upgraded to uwcr v2, the FilterBar behaves differently from v1. In v1, when passing 'hideToolbar' to the FilterBar, the ToolbarButtons will be rendered after the filter items: image

However in v2, if we pass the same property, the ToolbarButtons are not visible: image

Isolated Example

No response

Reproduction steps

  1. Open uwcr v2 document: https://sap.github.io/ui5-webcomponents-react/v2/?path=/docs/layouts-floorplans-filterbar--docs
  2. Set the hideToolbar to true
  3. The "Adapt Filters" button is not visible.

Expected Behaviour

The "Adapt Filters" button is visible when hideToolbar is set to true.

Screenshots or Videos

No response

UI5 Web Components for React Version

2.2.0

UI5 Web Components Version

2.3.0

Browser

Chrome

Operating System

No response

Additional Context

No response

Relevant log output

No response

Organization

No response

Declaration

ui5-webcomponents-react-bot commented 4 weeks ago

:tada: This issue has been resolved in version v2.3.0 :tada:

The release is available on v2.3.0

Your semantic-release bot :package::rocket: