diff --git a/ghost/admin/app/components/members/filter-value.hbs b/ghost/admin/app/components/members/filter-value.hbs
index dcdd8ca7a4..90e52565ab 100644
--- a/ghost/admin/app/components/members/filter-value.hbs
+++ b/ghost/admin/app/components/members/filter-value.hbs
@@ -22,33 +22,38 @@
{{else if (eq @filter.type 'email_count')}}
-
{{else if (eq @filter.type 'email_opened_count')}}
-
{{else if (eq @filter.type 'email_open_rate')}}
%
-
@@ -90,11 +95,14 @@
{{svg-jar "arrow-down-small"}}
{{else}}
-
{{/if}}
diff --git a/ghost/admin/app/components/members/filter-value.js b/ghost/admin/app/components/members/filter-value.js
index e69f510c3b..12a7b02458 100644
--- a/ghost/admin/app/components/members/filter-value.js
+++ b/ghost/admin/app/components/members/filter-value.js
@@ -48,7 +48,8 @@ export default class MembersFilterValue extends Component {
@action
updateInputFilterValueOnEnter(filterType, filterId, event) {
- if (event.keyCode === 13) {
+ if (event.key === 'Enter') {
+ event.preventDefault();
this.args.setFilterValue(filterType, filterId, this.filterValue);
}
}