Giter VIP home page Giter VIP logo

Comments (14)

staticdreams avatar staticdreams commented on August 22, 2024

I just checked with my app and my center view table scrolls fine to the very top. At least for the first controller. I haven't tried other center views yet since they don't contain any tables (yet)

from nappslidemenu.

viezel avatar viezel commented on August 22, 2024

Please look at setPanningMode

from nappslidemenu.

rafaelks avatar rafaelks commented on August 22, 2024

It happens only when you have a UITableView in left ViewController and a UITableView in center ViewController.

Anyone knows how to fix it? :-(

from nappslidemenu.

staticdreams avatar staticdreams commented on August 22, 2024

I have tableviews in both left and center controllers and it scrolls fine. I removed right view altogether.
however I'm using 0.6 version. haven't had the chance to upgrade and try out the new version

from nappslidemenu.

rafaelks avatar rafaelks commented on August 22, 2024

It scrolls fine. But when I touch in iOS status, the UITableView of center ViewController does not go to the top.

from nappslidemenu.

staticdreams avatar staticdreams commented on August 22, 2024

Look, this is a small video I posted just now.
https://www.youtube.com/watch?v=V5ZLxoDz6Bk
You're unable to do what I'm doing towards the end of the video? statusbar click scroll?

from nappslidemenu.

rafaelks avatar rafaelks commented on August 22, 2024

That is exactly my problem.

You left ViewController is a TableView too?

from nappslidemenu.

staticdreams avatar staticdreams commented on August 22, 2024

Yes, but on my left table I used:

scrollable: false

if that makes any difference. It isn't too long and I didn't want it to rubber-scroll in the middle. Maybe that fixes it.

from nappslidemenu.

rafaelks avatar rafaelks commented on August 22, 2024

Yes. It changes everything. ;-)

I have fixed it right now, disabling left UITableView when it isn't visible.

mainWindow.addEventListener("viewWillOpen", function(e) {
    winMenu.tableView.setScrollable(true);
});

mainWindow.addEventListener("viewWillClose", function(e) {
    winMenu.tableView.setScrollable(false);
});

Thanks!

from nappslidemenu.

viezel avatar viezel commented on August 22, 2024

good you guys figured it out :)

from nappslidemenu.

staticdreams avatar staticdreams commented on August 22, 2024

This probably should be documented somewhere :)

from nappslidemenu.

viezel avatar viezel commented on August 22, 2024

true. im trying to figure out why this happens..

from nappslidemenu.

rafaelks avatar rafaelks commented on August 22, 2024

It happens because the firstResponder is the first ViewController (leftWindow).

The status bar touch responds to the firstResponder ViewController with UITableView AFAIK.

from nappslidemenu.

viezel avatar viezel commented on August 22, 2024

yes.. I understood that from your dialog.
Im talking about native code here. This should not occur. :)

from nappslidemenu.

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.