Skip to content

Commit

Permalink
Stop mousewheel event on output tab body
Browse files Browse the repository at this point in the history
This prevents zooming in/out the chart when there's an scrollbar for
this tab content.
  • Loading branch information
pgiraud committed Mar 20, 2023
1 parent 652bbc9 commit e4f8a8a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/components/PlanNodeDetail.vue
Original file line number Diff line number Diff line change
Expand Up @@ -493,6 +493,7 @@ watch(activeTab, () => {
:class="{ 'show active': activeTab === 'output' }"
v-html="formattedProp('OUTPUT')"
style="max-height: 200px"
@mousewheel.stop
></div>
<div
class="tab-pane"
Expand Down

0 comments on commit e4f8a8a

Please sign in to comment.