-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
Floating reply box? #6861
Comments
I think this would conflict with I think a similarly-convenient feature would be to have a fixed "scroll to field" button that shows up when the field is not empty. This would complement |
I don't understand what this is describing. Would be affixing the reply box to the bottom of the viewport such that prior comments scroll under it? |
Are you familiar with the "Scroll to top" floating buttons? The same, but it scrolls to the text field instead. |
🤔 that might be an improvement. I'm really not sure. Having the text field always in the viewport would be optimal in my opinion. |
This works well enough for me: #new_comment_form .CommentBox {
position: fixed;
right: 16px;
bottom: 16px;
z-index: 10;
width: 320px;
max-height: calc(100vh - 92px);
overflow-y: scroll;
} It makes the comment box fixed to the right side. To have it as a toggle so you can "pop it out" on demand, use a user style manager like Stylus. (Or use Refined GitHub's custom CSS feature if you don't feel bothered by enabling it all the time) |
That's definitely doing the trick. Is there some CSS magic to make it arbitrarily resizable? |
I'd love this, as a separate userscript. |
Description
I'm not sure this is even possible, but figured I'd ask the experts:
There are times when I need to reply to threads that have already received a lot of responses and I need to quote lines from those responses for context. Or maybe a response is particularly long and still results in pushing the reply box far off the bottom of the viewport. Would it be possible to "float" the reply box to the side such that it stays fixed in view while replying? It'd be amazing if it could be "popped out", e.g. like composing an email in Gmail, but I highly doubt that is feasible (at least not feasible while retaining the "quote in reply" feature).
Example URLs
nodejs/TSC#1430
The text was updated successfully, but these errors were encountered: