Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
M
Metabase
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Engineering Digital Service
Metabase
Commits
09c56567
Unverified
Commit
09c56567
authored
8 years ago
by
Tom Robinson
Browse files
Options
Downloads
Patches
Plain Diff
Disable esc to dismiss aggregation popover
parent
89960b9b
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
frontend/src/metabase/components/Popover.jsx
+1
-1
1 addition, 1 deletion
frontend/src/metabase/components/Popover.jsx
frontend/src/metabase/query_builder/components/AggregationWidget.jsx
+1
-0
1 addition, 0 deletions
...c/metabase/query_builder/components/AggregationWidget.jsx
with
2 additions
and
1 deletion
frontend/src/metabase/components/Popover.jsx
+
1
−
1
View file @
09c56567
...
...
@@ -86,7 +86,7 @@ export default class Popover extends Component {
_popoverComponent
()
{
return
(
<
OnClickOutsideWrapper
handleDismissal
=
{
this
.
handleDismissal
}
>
<
OnClickOutsideWrapper
handleDismissal
=
{
this
.
handleDismissal
}
dismissOnEscape
=
{
this
.
props
.
dismissOnEscape
}
dismissOnClickOutside
=
{
this
.
props
.
dismissOnClickOutside
}
>
<
div
id
=
{
this
.
props
.
id
}
className
=
{
cx
(
"
PopoverBody
"
,
{
"
PopoverBody--withArrow
"
:
this
.
props
.
hasArrow
},
this
.
props
.
className
)
}
>
{
typeof
this
.
props
.
children
===
"
function
"
?
this
.
props
.
children
()
...
...
This diff is collapsed.
Click to expand it.
frontend/src/metabase/query_builder/components/AggregationWidget.jsx
+
1
−
0
View file @
09c56567
...
...
@@ -98,6 +98,7 @@ export default class AggregationWidget extends Component {
className
=
"FilterPopover"
isInitiallyOpen
=
{
true
}
onClose
=
{
this
.
close
}
dismissOnEscape
=
{
false
}
// disable for expression editor
>
<
AggregationPopover
aggregation
=
{
aggregation
}
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment