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

OnChange event causing the page to scroll up. #239

Closed SkirmantasSutkus closed 5 years ago

SkirmantasSutkus commented 5 years ago

If we are using a .ReloadOnChange on a form, or opening a pop-up, the page is going to automatically be scrolled to the very top on those events.

This means that having a control element or a pop-up button like that in a longer page is causing real bad user experience of having to scroll back down after the "reload" event and our client is dissatisfied with it.

Hamid suggests it has to do with the Olive.Mvc JS.

This is fairly easy to replicate, but hard to give an example in pictures, so feel free to contact me if you need more info.

hamidmayeli commented 5 years ago

Fixed