-
Notifications
You must be signed in to change notification settings - Fork 71
[FIX] auto-complete: hide auto-complete when selecting a cell #4987
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
Conversation
fa79423 to
385302d
Compare
src/selection_stream/event_stream.ts
Outdated
| this.observers.set(owner, { owner, callbacks }); | ||
| } | ||
|
|
||
| stopWatching(owner: Owner) { |
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.
:'(
| this.model.selection.observe(this, { | ||
| handleEvent: () => this.hide(), | ||
| }); | ||
| this.onDispose(() => this.model.selection.stopWatching(this)); |
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.
autocomplete should be independent from the grid selection
385302d to
3d38d6d
Compare
|
Commit message should be reworded, in the end the auto-complete state/store was not moved. And commits should be squashed :) |
2ab30cf to
87015e8
Compare
Steps to reproduce: - Insert a pivot - type in a composer =PIVOT( (the auto-complete should show up with the pivot id) - click on a cell to fill in the reference: you end up with =PIVOT(B3 - press Enter => you get =PIVOT(1B3 instead of the composer being closed Task: 4022927
87015e8 to
58ec76a
Compare
|
robodoo r+ |
Steps to reproduce: - Insert a pivot - type in a composer =PIVOT( (the auto-complete should show up with the pivot id) - click on a cell to fill in the reference: you end up with =PIVOT(B3 - press Enter => you get =PIVOT(1B3 instead of the composer being closed closes #4987 Task: 4022927 Signed-off-by: Pierre Rousseau (pro) <pro@odoo.com>

Task: 4022927
Description:
description of this task, what is implemented and why it is implemented that way.
Task: TASK_ID
review checklist