10
Views
3
Comments
[OutSystems UI] OutSystems UI list or card layout breaks after returning to screen cache issue react
outsystems-ui
Reactive icon
Forge asset by OutSystems
Application Type
Reactive

Olá,

Tenho uma tela reativa usando uma AdaptiveGallery. Quando navego para outra tela e retorno usando o botão "voltar" do navegador, o layout dos cards se desconfigura. Parece ser um problema de cache/renderização, já que os dados estão presentes, mas a interface não recalcula corretamente.

2026-01-28 16-57-48
Mihai Melencu
Champion

Hi @Joelson Studart ,

Could you please add some screenshots showing how the layout is misconfigured? It would also help if you could share your OML, or a sample OML that reproduces the issue.

You can also take a look at this discussion, it might be helpful:

How to refresh the page layout and if function after browser clicks to go back? | OutSystems 

UserImage.jpg
Joelson Studart

Excelente @Mihai Melencu , obrigado, por ser algo privado não tem como eu compartilhar OML.

2026-01-08 12-12-29
shreyans wadyalkar

This usually happens because the screen is restored from cache when navigating back, but the AdaptiveGallery layout is not recalculated. A common fix is to force a reflow by triggering a resize event (e.g., in OnRender or OnReady using window.dispatchEvent(new Event('resize'))). Alternatively, you can use AjaxRefresh on the gallery or disable screen cache if needed. 

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