function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
tural sadiktural sadik 

Disable scrolling

I am working on a component for drawing on screen. I do not need scrolling because the available screen area is all I need for content. As far as I understood scroller intercepts my mouse events so I cant draw. I had similar problem when developing native app and putting drawing canvas into scrollable control. The event first go from top to bottom then bubbles up. So container can inrecept interaction events. In native development I had a property on the container to disable intercepting event. What are our choices here?
Leo WangLeo Wang
Please try this. It works for me.
<aura:component implements="force:appHostable">
    <!--redefine the attribute inherited from interface-->
    <aura:attribute name="insideScroller" type="Boolean" default="false"/>
  </aura:component