Hi All,
I am creating a custom layout for my reactive web application. but I am receiving following error in chrome -
"Cannot read properties of null (reading 'classList')"
If I remove OnReady event from the Custom Layout WebBlock then their is no error.
Also, when I resize the window, there is no menu on clicking the three bars -
Any help will be appreciated. I have attached the OML file.
Thanks
Vaibhav
Hi Vaibhav,
I have update your oml and its working.
like you need to add
layout
class in your custom layout and close in one container.
find the attached oml it will help you.
Hi Rahul,
This worked perfectly. I also added layout-top class.
Dont forget to add the OutSystems UI script to the layout. Just Incase.
Regards,
Marcio
Hi Marcio,
Thank you. I also added this, as without adding the OutSystemUI script I was receiving the following error -
Brilliant!!
I'm glad I could be of help, in this case, the script is needed, as you can see all other layouts when calling outsystems actions they use the OutSystemsUI script.
Márcio