Skip to content

Conversation

@GVodyanov
Copy link
Contributor

@GVodyanov GVodyanov commented Oct 28, 2025

Fix #56156

Summary

Before After
image swappy-20251028_133740

Checklist

@GVodyanov GVodyanov self-assigned this Oct 28, 2025
@GVodyanov GVodyanov requested a review from a team as a code owner October 28, 2025 13:04
@GVodyanov GVodyanov requested review from artonge, sorbaugh and szaimen and removed request for a team October 28, 2025 13:04
@GVodyanov GVodyanov added the 3. to review Waiting for reviews label Oct 28, 2025
Copy link
Contributor

@szaimen szaimen left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM from screenshot but did not test

@szaimen szaimen added this to the Nextcloud 33 milestone Oct 28, 2025
@szaimen szaimen added the bug label Oct 28, 2025
Copy link
Member

@jancborchardt jancborchardt left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can’t see the autosize connection but if that automatically works on this, consider it an approval. :)

@GVodyanov
Copy link
Contributor Author

Can’t see the autosize connection but if that automatically works on this, consider it an approval. :)

No this isn't autosize, it's just 6 rows, and after that you get a scrollbar. Speaking of autosize I would propose to add it as a feature to NcTextArea because we currently have a custom autosize implementation in contacts, and it seems we might also want one here, but I think it's better to have it directly in the component.

@GVodyanov GVodyanov force-pushed the fix/textarea-overlap branch from e14edf1 to 0393ed2 Compare November 4, 2025 08:39
Copy link
Contributor

@hamza221 hamza221 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Image

I still get an overlap

Signed-off-by: Grigory Vodyanov <scratchx@gmx.com>
@GVodyanov GVodyanov force-pushed the fix/textarea-overlap branch from 0393ed2 to d32ffe5 Compare November 4, 2025 11:46
@GVodyanov
Copy link
Contributor Author

Image

I still get an overlap

Should be fixed now

@GVodyanov GVodyanov requested a review from hamza221 November 4, 2025 11:47
@hamza221
Copy link
Contributor

/compile /

@search="asyncFind" />
<NcTextField v-model="status" :label="t('dav', 'Short absence status')" :required="true" />
<NcTextArea v-model="message" :label="t('dav', 'Long absence Message')" :required="true" />
<div class="absence-long-message__wrapper">
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Any DOM node within a block can be an element. Within a given block, all elements are semantically equal.

https://getbem.com/naming/

Elements should be inside blocks not the other way around

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe just rename to

  • absence-long-message
  • absence-long-message__input

Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
Copy link
Contributor

@susnux susnux left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

good expect inverted BEM.

@jancborchardt
Copy link
Member

Can’t see the autosize connection but if that automatically works on this, consider it an approval. :)

No this isn't autosize, it's just 6 rows, and after that you get a scrollbar. Speaking of autosize I would propose to add it as a feature to NcTextArea because we currently have a custom autosize implementation in contacts, and it seems we might also want one here, but I think it's better to have it directly in the component.

@GVodyanov Sounds good to me – we should indeed probably always have autosize on textareas, regardless of the place. Is there an issue in the components repo with the technical details already?

This was referenced Jan 7, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

3. to review Waiting for reviews bug

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Bug]: Availability/Absence message does not autosize and underlaps buttons as well as content

7 participants