Meteor-Community-Packages / meteor-autoform

AutoForm is a Meteor package that adds UI components and helpers to easily create basic forms with automatic insert and update events, and automatic reactive validation.
MIT License
1.44k stars 328 forks source link

Update form flickers when submitting #1087

Closed mazing closed 3 years ago

mazing commented 9 years ago

When I submit the update form on http://autoform.meteor.com/updateaf, the form flickers (disappears and reappears). Is it possible to disable this flickering and instead just make the update and keep the form appearing even after submitting the form?

Besides, it scrolls to top on the page when it is submitted which confuses the user. Am I using it wrong when I use

{{> quickForm collection="Meteor.users" id="updateForm" type="update" fields="profile.firstName,profile.lastName" doc=user}}

since it flickers and scrolls to top?

abernix commented 9 years ago

I'm guessing this is related to #846. I'm having the same problem. The form is actually removed and re-drawn in the page when it's updated.