[OutSystems UI] Component Section index throws an error when "main-content" class doesn't exist
outsystems-ui
Reactive icon
Forge component by Platform Maintenance
Application Type
Reactive

Component section index when "main-content" class doesn't exist, throws the following error:

But when enclosed in a container with "main-content" class the error gets fixed and section index works as expected.

This forces us to use this component inside OS Layout or inside a wrapper with this class which makes this component have dependencies and working like an extension instead of an independent component.

This should be on component's documentation.

Hi @Diogo Malagueta,


This is true, thanks for the report! We will review this to see if there's a better way to do it, without the need of that class. Otherwise, we will check for some way of documenting this information.


Best regards,

Bernardo Cardoso

Hi @Bernardo Cardoso


Thank you for reviewing this!


Best regards,

Diogo Malagueta

Hello @Diogo Malagueta 

Just to give you an update on this, you can refer to the code ROU-408 on the release notes of a future release.

Cheers,
GM

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.