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
Also i noticed that if i remove line setMatchState(prev => { return { ...prev, sets } }), sliders move fine. Or i have wrap in setTimeouts moveToIdx funcs in changeSlidesInSlider.
How can i fix it?
The text was updated successfully, but these errors were encountered:
Multiline code should be wrapped in tripple backticks: ``` /* multiline code here */ ```
That way they will be shown fine. You can also add file extension for highlighting, like: ```js /* multiline code here */ ``` or ```html /* multiline code here */ ```
You can go back and edit your comment, so i'll become readable, because in its current state it's kind of hard to comprehend.
Multiline code should be wrapped in tripple backticks: ``` /* multiline code here */ ``` That way they will be shown fine. You can also add file extension for highlighting, like: ```js /* multiline code here */ ``` or ```html /* multiline code here */ ```
You can go back and edit your comment, so i'll become readable, because in its current state it's kind of hard to comprehend.
Hello! I have component of match where users can change scores of their games. Keen-slider works good! But i have one issue.
When i add new set of match or remove one of existing sliders has to move to indexes of last set. But it does not happen.
Func of moving slides:
func where i add new set:
instances of sliders are same, for first one:
elements:
Also i noticed that if i remove line
setMatchState(prev => { return { ...prev, sets } })
, sliders move fine. Or i have wrap in setTimeouts moveToIdx funcs in changeSlidesInSlider.How can i fix it?
The text was updated successfully, but these errors were encountered: