Geeksltd / Olive

Olive framework, for more productive cross platform .NET solutions. It's available under the GPL v3 license. See License.md for more information.
https://geeksltd.github.io/Olive
Other
44 stars 44 forks source link

Page Scroll-Up after closing a Modal Pop-Up Page #266

Closed SkirmantasGeeks closed 5 years ago

SkirmantasGeeks commented 5 years ago

Using a code snippet of:

Button("Save") .OnClick(x => { x.CSharp("//code"); x.CloseModal(); });

Causes the page to scroll-up to the top after closing the modal. However, this only happens the first time after the main page is loaded. After that, the y position on the main page persists after subsequent clicks of the button inside that pop-up.

hamidmayeli commented 5 years ago

I assume it is fixed