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

[Feature Request]: Scroll settings box #10554

Closed
1 task done
alexbofa opened this issue May 19, 2023 · 2 comments
Closed
1 task done

[Feature Request]: Scroll settings box #10554

alexbofa opened this issue May 19, 2023 · 2 comments
Labels
enhancement New feature or request

Comments

@alexbofa
Copy link

Is there an existing issue for this?

  • I have searched the existing issues and checked the recent builds/commits

What would your feature do ?

When using additional extensions, like ControlNet, you have to scroll up and down every time.

A similar function has been discussed #7896
But in this topic, the problem is that if we fix the preview panel, then the field with the input of the prompt will also have to be constantly scrolled to change the prompt

How is this happening now:

Test.1.mp4

Proposed workflow

Decision.

test.2.mp4

I can't advise how 100% the result is, since the code was written for personal use, which may not work correctly for others. This code and video are what you can start from in the future for development.
You may need to add to the settings if it doesn't suit someone.

#img2img_results, #txt2img_results, #extras_results {
    position: sticky !important;
    top: 0px;
}
#tab_txt2img>div>div[Id^=component-], #tab_img2img>div>div.form>div[Id^=component-]{
   height :548px;
   overflow-y :scroll;
}
#tab_txt2img>div>div[Id^=component-]::-webkit-scrollbar, #tab_img2img>div>div.form>div[Id^=component-]::-webkit-scrollbar{
  width: 0.4em;
  background-color: transparent;
}

Additional information

No response

@alexbofa alexbofa added the enhancement New feature or request label May 19, 2023
@Sakura-Luna
Copy link
Collaborator

On my own fork, this is how I do it.

@Sakura-Luna
Copy link
Collaborator

You should post in discussions, not issues, this is not a place for sharing.

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