Skip to content

fix(widget): viewport height responsiveness#434

Merged
DarianM merged 6 commits intomainfrom
widget-size-bug
Oct 27, 2025
Merged

fix(widget): viewport height responsiveness#434
DarianM merged 6 commits intomainfrom
widget-size-bug

Conversation

@DarianM
Copy link
Copy Markdown
Member

@DarianM DarianM commented Oct 24, 2025

Closes #428

Changes

Remove the height media screen.
Instead, add scrollability to the entire container.
Adapt each view to have scrollability regardless of the viewport height.

@github-actions
Copy link
Copy Markdown

github-actions bot commented Oct 24, 2025

Deployment results

Worker Alias URL Outcome
API - staging success
CDN - 0f747bc5 success
App - fa5ea5a7 success

Logs #18839656084

Comment thread components/src/widget/views/interaction/interaction.ts Outdated
Copy link
Copy Markdown
Collaborator

@kjmitchelljr kjmitchelljr left a comment

Choose a reason for hiding this comment

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

I don't see any issues with the PR. As mentioned, could improve the image dimensions if there was ever a need to have it be more fluid with a layout change.

Only other question would be is how did you come to pick 140px as the number to subtract from?

@DarianM
Copy link
Copy Markdown
Member Author

DarianM commented Oct 24, 2025

Only other question would be is how did you come to pick 140px as the number to subtract from?

It is based solely on the height of the trigger button + plus some distance between the top edge for the open content.
I need to control the height of the open content to prevent the widget from going out of view.
Give it a test and let me know how it looks

Comment thread components/src/widget/widget.css Outdated
@DarianM DarianM merged commit 8e96f68 into main Oct 27, 2025
5 checks passed
@DarianM DarianM deleted the widget-size-bug branch October 27, 2025 11:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[BUG] Widget takes full screen on desktop

3 participants