Hi
when I click a button which is supposed to open a modal but it doesn't happen and got this error
the button :
<a
href='#'
className='btn btn-sm btn-light-success fw-bolder ms-2 fs-8 py-1 px-3'
data-bs-toggle='modal'
data-bs-target='#kt_modal_upgrade_plan'
>
Upgrade to Pro
</a>
the error :
Uncaught TypeError: Cannot read properties of undefined (reading 'classList')
Uncaught ReferenceError: process is not defined
I had the same issue and when I replaced package.json and yarn.lock from the below URL it got fixed. not sure what's your root cause
https://gist.github.com/carmelodevuz/40c32fa5a96d3a64c5f4be20bf44085c.
Hi,
May I know which product and version are you using?
Regards.
HI
metronic 8
react . demo 1
Regards
Hi,
It looks like your errors are not related to the modals, do you have this problem only with #kt_modal_upgrade_plan modal or with all modals?
Modal doesn't working on the all parts of template
Do you use the latest version of Metronic?
As you can see on our preview page all modals work fine.
But for ours doesn't
Do you use the latest version of Metronic 8?
Yes we do
Unfortunately, we weren't able to reproduce it in the latest Metronic version.
Did you make any changes to our codebase?