From 77a05caa3b31eb08e54f39cb303a793cc23cd0f0 Mon Sep 17 00:00:00 2001 From: Dalton Date: Mon, 27 Jan 2020 20:47:48 -0600 Subject: [PATCH] prevents the mouse wheel from scrolling the page when the user is focused on the lbc form element fixes mousewheel lbc actions on creating publish --- ui/component/channelCreate/view.jsx | 1 + ui/component/publishName/view.jsx | 1 + 2 files changed, 2 insertions(+) diff --git a/ui/component/channelCreate/view.jsx b/ui/component/channelCreate/view.jsx index 9f1caebe1..d2a53ba15 100644 --- a/ui/component/channelCreate/view.jsx +++ b/ui/component/channelCreate/view.jsx @@ -147,6 +147,7 @@ class ChannelCreate extends React.PureComponent { error={newChannelBidError} value={newChannelBid} onChange={event => this.handleNewChannelBidChange(parseFloat(event.target.value))} + onWheel={e => e.stopPropagation()} />