You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When we try to update sort field in ViewSettingsDialog we see selected field is not sent to the confirm callback rather previously selected item is sent.
This is not happening always, when we try to play around the selection then it happens.
If you see from below screenshot, I selected different sort fields couple of times and clicked Ok button. Notice last selection is "Company" but confirm callback is still providing "name" field
I've updated your example to the latest ui5wc/r versions (2.7.0) and fixed the React key error. Now I'm not able to reproduce the issue, could you please check again?
Hi @Lukas742 ,
We are trying to upgrade ui5-component to 2.7.1 and we are getting objectPageRef.current?.scrollTo is not a function in unit tests. What is the reason of this error?
Code failure: @ui5/webcomponents-react/dist/components/ObjectPage/index.js:187:30
Describe the bug
When we try to update sort field in ViewSettingsDialog we see selected field is not sent to the confirm callback rather previously selected item is sent.
![Image](https://private-user-images.githubusercontent.com/18447407/409481876-003be145-d0e8-4191-81d9-e170606bf5f9.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MzkzNDUwODcsIm5iZiI6MTczOTM0NDc4NywicGF0aCI6Ii8xODQ0NzQwNy80MDk0ODE4NzYtMDAzYmUxNDUtZDBlOC00MTkxLTgxZDktZTE3MDYwNmJmNWY5LnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMTIlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjEyVDA3MTk0N1omWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTE4MGUyZGRkZDE4MjMwMDQ0M2IzNDE2MWQ1M2NkNzdmNGExOGExNTE5NzFmNTQ3OWVjOGVmNWNhYTRiZDA0NzgmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.5RcHy2aQfbZuDywzjAJcRiIMRB7zWTVXxZcTr_ES2E8)
This is not happening always, when we try to play around the selection then it happens.
If you see from below screenshot, I selected different sort fields couple of times and clicked Ok button. Notice last selection is "Company" but confirm callback is still providing "name" field
Isolated Example
No response
Reproduction steps
Expected Behaviour
When there is a new selection, new field should be sent to confirm call back.
Screenshots or Videos
UI5 Web Components for React Version
2.4.0
UI5 Web Components Version
2.4.0
Browser
Chrome
Operating System
No response
Additional Context
No response
Relevant log output
Organization
SAP SuccessFactors
Declaration
The text was updated successfully, but these errors were encountered: