Revert "fix issue with not being able to click toolbar"

This reverts commit 001f85eecc.
This commit is contained in:
Nolan Lawson 2018-04-05 21:00:30 -07:00
parent 001f85eecc
commit f5943c3c24
2 changed files with 2 additions and 11 deletions

View file

@ -17,7 +17,7 @@
}
.compose-autosuggest.shown {
pointer-events: auto;
opacity: 1;
opacity: 1
}
@media (max-width: 479px) {

View file

@ -30,7 +30,7 @@
style="display: none;"
type="file"
accept=".jpg,.jpeg,.png,.gif,.webm,.mp4,.m4v,image/jpeg,image/png,image/gif,video/webm,video/mp4">
<div class="compose-autosuggest-wrapper {{composeAutosuggestionShown ? '' : 'not-shown'}} {{realm === 'dialog' ? 'is-dialog' : ''}}">
<div class="compose-autosuggest-wrapper">
<ComposeAutosuggest :realm :text />
</div>
</div>
@ -50,12 +50,6 @@
top: 0;
z-index: 7000;
}
.compose-autosuggest-wrapper.is-dialog {
z-index: 11000;
}
.compose-autosuggest-wrapper.not-shown {
pointer-events: none;
}
</style>
<script>
import IconButton from '../IconButton.html'
@ -82,9 +76,6 @@
ComposeAutosuggest
},
store: () => store,
computed: {
composeAutosuggestionShown: ($composeAutosuggestionShown) => $composeAutosuggestionShown
},
methods: {
async onEmojiClick() {
let dialogs = await importDialogs()