Skip to content

Hide the send box of the Fluent theme when hideSendBox is set - #5918

Merged
Eugene (OEvgeny) merged 6 commits into
mainfrom
OEvgeny/fix-fluent-hidesendbox
Oct 21, 2026
Merged

Eugene (OEvgeny) merged 6 commits into
mainfrom
OEvgeny/fix-fluent-hidesendbox

Conversation

@OEvgeny

@OEvgeny Eugene (OEvgeny) commented Oct 19, 2026 •

Copy link
Copy Markdown
Collaborator

The Fluent theme ignores styleOptions.hideSendBox.

Changelog Entry

Fixed

  • Fixed the Fluent theme ignoring styleOptions.hideSendBox, in PR #5918, by @OEvgeny

Description

The Fluent theme renders its own send box through sendBoxMiddleware and never read hideSendBox, so the send box, its toolbar, and suggested actions stayed visible. Fluent's primary send box now renders nothing when hideSendBox is true, the same as the default theme.

Specific Changes

  • fluent-theme/src/components/sendBox/SendBox.tsx: PrimarySendBox honors hideSendBox
  • api/src/StyleOptions.ts: JSDoc for hideSendBox
  • fluentTheme/hideSendBox.html (+ .copilot.html): snapshot 1, the message without send box or suggested actions, in Fluent and Copilot variants
  • I have added tests and executed them locally
  • I have added .changelog/<PR#>-<slug>.md
  • I have updated documentation

Review Checklist

This section is for contributors to review your work.

  • Accessibility reviewed (tab order, content readability, alt text, color contrast)
  • Browser and platform compatibilities reviewed
  • CSS styles reviewed (minimal rules, no z-index)
  • Documents reviewed (docs, samples, live demo)
  • Internationalization reviewed (strings, unit formatting)
  • package.json and package-lock.json reviewed
  • Security reviewed (no data URIs, check for nonce leak)
  • Tests reviewed (coverage, legitimacy)

@OEvgeny
Eugene (OEvgeny) marked this pull request as ready for review October 19, 2026 19:26
Copilot AI balanced review requested due to automatic review settings October 19, 2026 19:26

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

@OEvgeny
Eugene (OEvgeny) force-pushed the OEvgeny/fix-fluent-hidesendbox branch 3 times, most recently from 2f42f55 to 225155b Compare October 20, 2026 20:24
Eugene (OEvgeny) and others added 2 commits October 20, 2026 18:40
…send box

The forced colors tests from #5907 share pages that render Web Chat with
`styleOptions: { hideSendBox: true }`. Their Fluent snapshots were captured
before the Fluent theme honored `hideSendBox`, so they still showed the send
box. With the send box hidden, the messages sit 90px lower; nothing else
changes.
@OEvgeny
Eugene (OEvgeny) merged commit 21a4c3e into main Oct 21, 2026
33 checks passed
@OEvgeny
Eugene (OEvgeny) deleted the OEvgeny/fix-fluent-hidesendbox branch October 21, 2026 06:33
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.

3 participants