Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[validate/saveAndValidate]: Add other ensureVisible properties to this function to allow users to alter the scroll behaviour #1414

Open
1 task done
tim-bacon-fivet opened this issue Aug 1, 2024 · 2 comments
Labels
enhancement New feature or request

Comments

@tim-bacon-fivet
Copy link

Is there an existing issue for this?

  • I have searched the existing issues

Package/Plugin version

9.3.0

What you'd like to happen

It would be great if we could specify the alignment, duration, curve and alignmentPolicy properties to the saveAndValidate method so that we would have control of how the scroll happens when the autoScrollWhenFocusOnInvalid is true.

Alternatives you've considered

No response

Aditional information

No response

@tim-bacon-fivet tim-bacon-fivet added the enhancement New feature or request label Aug 1, 2024
@tim-bacon-fivet
Copy link
Author

I am happy to write up the code and submit a PR if this is something you are happy with. I was thinking of just adding those 4 extra properties to the function as optional unless there is a different way you would prefer this to be handled?

@deandreamatias
Copy link
Collaborator

Could be nice, but I don't know if this is related with this: #1297

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants