Giter Site home page Giter Site logo

Comments (4)

viezel avatar viezel commented on June 20, 2024

Have you played with open/close gesture modes. You can disable it.

from nappdrawer.

kosso avatar kosso commented on June 20, 2024

@viezel I haven't yet, but how would that work if I want the left menu to work as expected, but have the centre window contain something like a tableview or scrollView which itself needs to respond to a swipe (left) event to open a new window? (or do something else)

I seem to be able to fire the swipe event on the blue test view in my example, but not all the time. I don't know if it's the scrollView or the NappDrawer (excellent work by the way) doing it.

This is an issue I've found with every draggable menu/drawer implementation I've tried so far.

from nappdrawer.

viezel avatar viezel commented on June 20, 2024

again :) Have a play with it. Some people have disabled gesture mode, but enables them the drawer is opened.

from nappdrawer.

chrisribe avatar chrisribe commented on June 20, 2024

Errg how would you disable the gesture mode to avoid this conflict ?

mainWindow.setOpenDrawerGestureMode(NappDrawerModule.OPEN_MODE_NONE) ?
mainWindow.setCloseDrawerGestureMode(NappDrawerModule.CLOSE_MODE_NONE) ?
or
mainWindow.setCenterHiddenInteractionMode(NappDrawerModule.OPEN_CENTER_MODE_NONE) ?

Thanks
Chris

from nappdrawer.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.