SAP / ui5-webcomponents

UI5 Web Components - the enterprise-flavored sugar on top of native APIs! Build SAP Fiori user interfaces with the technology of your choice.
https://sap.github.io/ui5-webcomponents/
Apache License 2.0
1.56k stars 267 forks source link

Disable whole list and prevent user click item #5576

Closed wulinjie122 closed 2 years ago

wulinjie122 commented 2 years ago

Feature Request Description

Hi Team, I am from successfactors, recently we have a feature which renders a list in chat window, but we want to disable entire list when user lost dialog session under certain conditions, this can prevent user clicking list item.

here is the design:

2022-07-27 14-52-54

Proposed Solution

Can we achieve this by adding a grey overlay to dull the image and text when ui5-list was disabled?

Proposed Alternatives

Currently we simply added some css on ui5-list to disable cursor, it would be better if ui5-list has an option to achieve this effect.

pointer-events:none;
cursor:not-allowed;

Additional Context

Add other context or screenshots related to the feature request here.

Priority

A clear and concise description of the impact/urgency of the required feature.

Stakeholder Info (if applicable)

stbodurov commented 2 years ago

Hi @SAP/ui5-webcomponents-topic-p,

Could you take a look at this feature request?

Regards, Stanislav

ilhan007 commented 2 years ago

Lowering the priority and removing the "High" prio label based on the recent SF prioritisation list we got.

Hello @wulinjie122 get in touch with your leads to adjust the priority.

dobrinyonkov commented 2 years ago

Hello, to be consistent with individual list items behavour - https://github.com/SAP/ui5-webcomponents/issues/5254#issuecomment-1237046253 - there are no plans for this functionality to be implemented for the whole list.

Kind Regards, Dobrin