- Home
- Forum
- React - EJ 2
- Unexpected effect with Slider on state
Unexpected effect with Slider on state
Hello,
please see my example at stackblitz. Reproduction: In application click "Add" button 2 times, then use the slider of the first item. Now the second item disappears. This does not happen when I use a ButtonComponent instead of SliderComponent. It seems that the invocation of the onChange callback of the first item slider has the state that was present when the "Add" button was clicked the first time. Why is that?
Regards,
Steffen
SIGN IN To post a reply.
4 Replies
1 reply marked as answer
SH
Steffen Harbich
October 23, 2020 09:26 AM UTC
Please see another example on stackblitz that uses DialogComponent but has similar unexpected behavior. Press "Add" button to show a dialog. Then press OK button. This shows how "dialogContent" state is not the value it should be after OK is clicked. Is this a general problem? This really blocks me and we want to release next week to production.
JA
Jesus Arockia Sankaran S
Syncfusion Team
November 10, 2020 01:22 PM UTC
Hi Steffen,
Sorry for the delay in getting back to you.
We are able to reproduce the reported issue in our end and we are grateful for the sample. We suspect that this is issue with Syncfusion component and we will confirm this in couple of days with timeline.
We request your support until then and get back to us if you have any queries.
Regards,
Jesus Arockia Sankaran S
JA
Jesus Arockia Sankaran S
Syncfusion Team
November 11, 2020 01:30 PM UTC
Hi Steffen,
We were able to reproduce the issue “Callback functions and state value is not updated while react state changes” and we confirm this as a bug and logged a defect report. You can keep track of the bug from the feedback portal below.
The fix will be available in our upcoming weekly patch release which is scheduled to be rolled out at November 25, 2020.
If you have any more specification/precise replication procedure or a scenario to be tested you can add it as a comment in the portal.
Regards,
Jesus Arockia Sankaran S
Marked as answer
JA
Jesus Arockia Sankaran S
Syncfusion Team
December 11, 2020 03:08 AM UTC
Hi All,
Thank you for waiting for our response.
We are glad that the reported issue is fixed with our patch release version “18.3.50” and we request you to update the Syncfusion react packages to latest.
Please get back to us if you have any queries.
Regards,
Jesus Arockia Sankaran S
SIGN IN To post a reply.
- 4 Replies
- 2 Participants
- Marked answer
-
SH Steffen Harbich
- Oct 22, 2020 08:21 AM UTC
- Dec 11, 2020 03:08 AM UTC