-
Notifications
You must be signed in to change notification settings - Fork 263
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
🐛 FIX: message iframe vertically doesn't fit the container / available space #2222
🐛 FIX: message iframe vertically doesn't fit the container / available space #2222
Conversation
49876df
to
6a73272
Compare
so if we continue with this, there are still some things to do: |
I think a floating indicator button for the attachments at the bottom is best, for the following reasons:
|
@ChristophWurst does your 👀-Reaction on my comment mean that you approve? ;D @violoncelloCH any other open questions on this, or help needed? |
Thou shall not mess with my release schedules :) |
I'm fine with that. But sounds like a lot more work. And I'm still not sold on setting an arbitrary height on the iframe size in the hope that it is big enough. We'll then also have a much larger scrolling pane, no? The attachements are fixed, yes, but what comes after the message contents ended? |
@jancborchardt fine by me; it's time missing for me atm, not information... So if someone else wants to continue working on this I'd be fine... Maybe @GretaD ? Otherwise I'll try to find some time during the next weeks, but can't promise anything...sorry @ChristophWurst this one explicitely doesn't set a fixed height but uses flex-grow which let's the iframe expand to the bottom of the viewport... Isn't this what we want to have? |
As far as I know you still can't have an iframe resize to the height of its contents dynamically, can you? |
just check out this PR and take a look how it's indeed possible 😉 |
This pull request increases the height of the iframe so the bottom edge lines up with the bottom edge of the viewport. It doesnt know about the contents of the iframe, but takes only the outside into account. This results in what we want: Only a single scrollbar (albeit unfortunately hovering in the air). So:
|
@violoncelloCH what’s left to do on this and how can I help? :) |
@jancborchardt well the basic css "magic" to make the iframe expand to the available screen height is there, however what's not yet implemented is the floating attachment button with a popover displaying the attachments (as you described in this comment #2222 (comment))... (Or we merge this without the attachment part? [so there would just be a little bit of polishing needed]) |
…e space Signed-off-by: Jonas Sulzer <jonas@violoncello.ch>
Signed-off-by: Jonas Sulzer <jonas@violoncello.ch>
3458042
to
1e41543
Compare
Signed-off-by: Jan-Christoph Borchardt <hey@jancborchardt.net>
Fixed the 2 outstanding issues, this is ready for review! @nextcloud/mail The only thing I was unable to fix is this which seems to need fixing in the components:
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Code looks good
thanks very much @jancborchardt for taking this up and fixing the remaining issues... |
No worries @violoncelloCH! Thank you so much for your work! :) |
@ChristophWurst is there already an ETA when a new release will be available? I would really like to test this out :) |
No date set yet as we still work on stabilization, but feel free to test the betas https://help.nextcloud.com/t/call-for-testers-mail-v1-3/75825! I'll release another one soon so it will have this PR and other recent changes :) |
Thanks, I will do that! :) |
.envelope{height:900px;} |
Fixes #658