Logo broken in mobile here https://preview.keenthemes.com/metronic8/react/demo1/dashboard
In mobile view the logo is broken.
Also, I'm wondering about the ETA of this: https://devs.keenthemes.com/question/bug-in-create-modal-continuesubmit-navigation-button
Thanks.
Replies (3)
Hi,
Sorry for the late reply.
We will include a fix in the next Metronic release. For now, as a temporary solution, you can update prevStep and submitStep as shown below.
const prevStep = () => {
if (!stepper.current) {
return
} stepper.current.goPrev()
setCurrentSchema(createAccountSchemas[stepper.current.currentStepIndex - 1])
setSubmitButton(stepper.current.currentStepIndex === stepper.current.totatStepsNumber)
}
const submitStep = (values: ICreateAccount, actions: FormikValues) => {
if (!stepper.current) {
return
} if (stepper.current.currentStepIndex !== stepper.current.totatStepsNumber) {
stepper.current.goNext()
} else {
stepper.current.goto(1)
actions.resetForm()
}
setSubmitButton(stepper.current.currentStepIndex === stepper.current.totatStepsNumber)
setCurrentSchema(createAccountSchemas[stepper.current.currentStepIndex - 1])
}
Regards,
Lauris Stepanovs,
Keenthemes Support Team
Thanks! It works!
Hi,
Glad to hear that. Let me know if you will need any further help.
Regards,
Lauris Stepanovs,
Keenthemes Support Team