ui5-webcomponents icon indicating copy to clipboard operation
ui5-webcomponents copied to clipboard

[UI5-CheckBox][Bug][SF][Urgent] The focus function of ui5-checkbox does not always work

Open sfsf-xweb-sh opened this issue 5 years ago • 6 comments

Dear colleagues, I am from SuccessFactors Web Experience Shanghai team.

Bug Description Version: 0.29.13 When I call the focus function of ui5-checkbox, it does not always work. Sometimes the ui5-checkbox can be focused, sometimes can't.

Expected behavior If the focus function be called, the ui5-checkbox can always be focused. I will send the email to give the website to reproduce this issue

2021-04-21_10-03-08 (1)

sfsf-xweb-sh avatar Apr 21 '21 02:04 sfsf-xweb-sh

Hi @sfsf-xweb-sh

I was not able to reproduce the issue in a standalone sample. It works every time: https://codesandbox.io/s/ui5-webcomponents-forked-775ny?file=/index.html

It seems to me that there is some application logic that prevents the checkbox from receiving the focus. Are you sure that when checkbox.focus() is invoked, the busyindicator is not blocking the focus?

fifoosid avatar Apr 21 '21 11:04 fifoosid

Hi @fifoosid I am not sure whether the busyindicator will blocking the focus. But I called the checkbox.focus() function after the list is loaded in which time busyindicator's status was not loading. So I think the busy indicator should not block the focus. Did I unstop right ?

sfsf-xweb-sh avatar Apr 23 '21 09:04 sfsf-xweb-sh

Hi @sfsf-xweb-sh

Can you provide an isolated example via CodeSandbox, recreating you scenario, so that we can debug it.

fifoosid avatar Apr 23 '21 12:04 fifoosid

Hi @fifoosid You can see this demo link:https://github.wdf.sap.corp/pages/xweb/goalmanagementx/app.html?mock#/goal-list I have added the source-map to it

sfsf-xweb-sh avatar Apr 26 '21 08:04 sfsf-xweb-sh

Hi @sfsf-xweb-sh

As we agreed on our meeting last week, we will need a isolated sample in CodeSandbox in order to continue working on this issue.

fifoosid avatar May 17 '21 09:05 fifoosid

Hi @sfsf-xweb-sh This issue has been inactive for quite a while. I am closing it.

georgimkv avatar Jun 04 '21 07:06 georgimkv