Skip to main content
Davide_Boscolo
Inspiring
March 31, 2026
Question

Disable tablet scrolling in Cep panel

  • March 31, 2026
  • 2 replies
  • 47 views

Hi all,

I'm trying to make my cep-panel tablet friendly and I've realized that when I click and drag the tablet thinks my panel is a web browser hence it tries to scroll the page instead. 
Is there anything I can do to disable the scrolling feature in my code? Something I need to add to the manifest file, html, js…?

Thank you

    2 replies

    OussK
    Community Expert
    Community Expert
    April 3, 2026

    Add this to your CSS and it should fix it:

    css

    html, body {
    overflow: hidden;
    touch-action: none;
    }

    And this JS as a fallback: js

    document.addEventListener('touchmove', function(e) { e.preventDefault(); }, { passive: false });

    overflow: hidden kills the scroll entirely, and touch-action: none tells the browser to stop interpreting pen/touch drags as scroll gestures. The JS line catches anything CSS misses.

    Davide_Boscolo
    Inspiring
    April 6, 2026

    It doesn't seem to work.

    I have an svg area with a bezier curve that is controlled by it's handles.

    <svg id="graphEditorSpace" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 180 100" preserveAspectRatio="xMidYMid meet">
    // Curve and handles here
    </svg>

    When I drag one handle it stops after a few pixels. My guess is that windows ink wants to scroll the page. The mouse pointer disappears when this happens, which is the same behavior I see when scrolling a page in my browser with Windows Ink enabled.

    The css attributes don't do anything, even if I put them inside #graphEditorSpace. I tried on other html elements with the same result.

    The solution for me is to disable Windows Ink from the Wacom settings. That works fine and I'm happy with it.

    Thank you for taking the time to reply. 

    sskaz
    Inspiring
    April 2, 2026

    I’m just shooting blindly in the dark (I’ve never touched CEP scripting…yet), but maybe try disabling scrolling in the CSS, specifically: overflow:hidden and maybe overscroll-behavior:none in case the webview is acting like a mobile browser and adding the scroll bounce.

    Davide_Boscolo
    Inspiring
    April 6, 2026

    Hi, thank you for replying. 
    This one doesn't seem to work either. 
    I'm ok with turning Windows Ink off in the tablet settings.