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 { .compose-autosuggest.shown {
pointer-events: auto; pointer-events: auto;
opacity: 1; opacity: 1
} }
@media (max-width: 479px) { @media (max-width: 479px) {

View File

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