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
You will see that when masked-input is on the page to scroll at the page's top while rendering the next step cause bugg to occurs on the scrollTo's function.
When addind masked-input to my application, the scrollTo() functions bugg. Browser: Mozilla Firefox 68.7.0esr on Linux Debian 10 Buster.
Here the repository that reproduce my case: https://github.com/Hocoh/masked-input-is-makes-scrollTo-function-buggs
You will see that when masked-input is on the page to scroll at the page's top while rendering the next step cause bugg to occurs on the scrollTo's function.
Possibly other scroll API's functions bugg also.
Here a react snippet of the implementation:
`goNextStep=()=>{
let updateCurrentStep;
}
const FirstStep= (props)=>{
if(props.currentStep!==0) return null
}
const SecondStep=(props)=>{
if(props.currentStep!==1) return null
return <div className={style["content"]}/>
}
const ThirdStep=(props)=>{
if(props.currentStep!==2) return null
return <div className={style["content"]}/>
}
`
The text was updated successfully, but these errors were encountered: