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

Panel jumps to top of page during file upload in textarea #1879

Closed
Pandorrrrrra opened this issue Jun 25, 2019 · 2 comments

Comments

@Pandorrrrrra
Copy link

commented Jun 25, 2019

Describe the bug
While uploading a file in the bottom part of a textarea that contains a lot of text (so you have to scroll down first), the panel jumps to the top of the page to select the file, after selection down again.

To Reproduce
Steps to reproduce the behavior:

  1. Go to the Panel
  2. Create a textarea with a lot of text, so you have to scroll down the panel to reach the bottom
  3. Upload a file in the bottom part of the textarea with the "file" button
  4. Panel jumps up to top of the page

Expected behavior
It would be practical if the panel stays in the same position, so one can see the text/context while selecting the image. This would help if there are still decisions to be made choosing the image or if one forgott what image one wanted to upload.

Kirby Version
2.3.0

Desktop:

  • OS: macOS Sierra 10.12.6
  • Browser: Firefox
  • Version: 67.0.4
@Pandorrrrrra

This comment has been minimized.

Copy link
Author

commented Jun 26, 2019

Just realised that the Panel actually also always jumps to the bottom of the textarea after an upload in the textarea with the "file" button.

@bastianallgeier

This comment has been minimized.

Copy link
Contributor

commented Sep 17, 2019

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
3 participants
You can’t perform that action at this time.