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

Get Absolute distance from the top #58

Closed
aryanshridhar opened this issue Dec 1, 2020 · 1 comment
Closed

Get Absolute distance from the top #58

aryanshridhar opened this issue Dec 1, 2020 · 1 comment

Comments

@aryanshridhar
Copy link

aryanshridhar commented Dec 1, 2020

Is there any way to achieve the 'absolute' distance from the top.

Upon increasing the textinput size and repositioning the caret to the top , it returns the distance including the one that got hidden due to scrollbar in the textinput .

For more clarity :

Screenshot from 2020-12-01 20-07-20

This returns the value as 1928 px (as it also considers the area hidden above , due to scrollbar) . Is there any method to retrieve the caret position from the top in this case . (Here , maybe around 10-15px) ?

@aryanshridhar
Copy link
Author

Soon realized the root cause of this issue as #59. Closing

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

No branches or pull requests

1 participant