Skip to content

Commit 1372bac

Browse files
committed
Restore #10096/#8638 and re-fix #15172
This PR restores the vendored and patched dropdow from #8638. It however, abandons the calls to `click()` using instead the default dropdown click calls instead. This prevents the issue of the dropdown grabbing focus permanently however, this may have negative effects on the effect of focus on the dropdowns. Of note, the behaviour of the template selector dropdown on the repo creation page is slightly odd - I don't believe that this odd behaviour is caused by this PR but rather by the feed source for this. I suspect that the dropdown should be adding a delete button to its selection. Fix #15172 References: #7057 Signed-off-by: Andrew Thornton <[email protected]>
1 parent 3705168 commit 1372bac

File tree

3 files changed

+4340
-0
lines changed

3 files changed

+4340
-0
lines changed

.eslintrc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ root: true
22
reportUnusedDisableDirectives: true
33

44
ignorePatterns:
5+
- /web_src/js/vendor
56
- /templates/base/head.tmpl
67
- /templates/repo/activity.tmpl
78
- /templates/repo/view_file.tmpl

web_src/js/index.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ import './publicpath.js';
33
import Vue from 'vue';
44
import {htmlEscape} from 'escape-goat';
55
import 'jquery.are-you-sure';
6+
import './vendor/dropdown.js';
67

78
import ActivityTopAuthors from './components/ActivityTopAuthors.vue';
89
import attachTribute from './features/tribute.js';

0 commit comments

Comments
 (0)