mirror of
https://github.com/tiennm99/coolify.git
synced 2026-04-17 17:21:04 +00:00
Remove morph.updating hook that blocked log updates during text selection
The hook was preventing new logs from appearing when text was selected. The hasActiveLogSelection() check in highlightText() is sufficient. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
This commit is contained in:
@@ -136,13 +136,6 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
init() {
|
init() {
|
||||||
// Prevent Livewire from morphing logs container when text is selected
|
|
||||||
Livewire.hook('morph.updating', ({ el, component, toEl, skip }) => {
|
|
||||||
if (el.id === 'logs' && this.hasActiveLogSelection()) {
|
|
||||||
skip();
|
|
||||||
}
|
|
||||||
});
|
|
||||||
|
|
||||||
// Watch search query changes
|
// Watch search query changes
|
||||||
this.$watch('searchQuery', () => {
|
this.$watch('searchQuery', () => {
|
||||||
this.applySearch();
|
this.applySearch();
|
||||||
|
|||||||
Reference in New Issue
Block a user