-
Notifications
You must be signed in to change notification settings - Fork 66
[FIX] Composer: Fix assistant position #7288
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
base: saas-18.4
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -8,7 +8,7 @@ import { CellComposerStore } from "../composer/composer/cell_composer_store"; | |
| import { CellComposerProps, Composer } from "../composer/composer/composer"; | ||
| import { ComposerFocusStore, ComposerInterface } from "../composer/composer_focus_store"; | ||
| import { css, cssPropertiesToCss } from "../helpers"; | ||
| import { getBoundingRectAsPOJO, isIOS } from "../helpers/dom_helpers"; | ||
| import { getBoundingRectAsPOJO } from "../helpers/dom_helpers"; | ||
| import { RibbonMenu } from "./ribbon_menu/ribbon_menu"; | ||
|
|
||
| interface Props { | ||
|
|
@@ -105,7 +105,7 @@ export class SmallBottomBar extends Component<Props, SpreadsheetChildEnv> { | |
| height: this.focus === "inactive" ? "26px" : "fit-content", | ||
| "max-height": `130px`, | ||
| }), | ||
| showAssistant: !isIOS(), // Hide assistant on iOS as it breaks visually | ||
| showAssistant: false, // Hide assistant in small composer as it gets cropped ATM | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I don't see a task to fix this, am I blind or we do we not care about this ? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Its on the task description - it's not properly visible due to the html structure because we have several overflow:hidden that we use for other purpose. since it's not usable, its beter to deactivate it and try to reintroduce it as a banner for bottom bar specifically There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Yeah I see why you disabled it, but I didn't find a task to fix it properly in the future |
||
| placeholder: this.composerStore.placeholder, | ||
| }; | ||
| } | ||
|
|
||
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.
nitpick: there is a space between the composer and the assistant. Maybe it's good enough 🤷
