Coder Social home page Coder Social logo

Comments (7)

jessejiang0214 avatar jessejiang0214 commented on August 11, 2024

Did you use SlideOverKit in a Shared project not PCL project?

from slideoverkit.

lyuboasenov avatar lyuboasenov commented on August 11, 2024

SlideOverKit is used via Nuget packages. The forms project is a net standard class library while the android project is an Android App project.

from slideoverkit.

T3zler avatar T3zler commented on August 11, 2024

Hi. I face the same issue. Updated a project from PCL to .Net Standard project (as well as a Xamarin forms update - running 2.4.0.282) and the "drag-able" gesture has stopped working! i.e. we have a BottomToTop menu we could slide up but now that gesture doesn't work. I added the following code from your sample to a button and the menu does slide up. As soon as a tap is registered it closes instantly also, i.e. I can't drag closed or anything like that.

if (SlideMenu.IsShown) { HideMenuAction?.Invoke(); } else { ShowMenuAction?.Invoke(); }

For now we are having to update the app so it works on click instead but preferred the drag behaviour as it gave a better feel.

Be interested to know what others have experienced using this from a .Net standard library?

from slideoverkit.

jessejiang0214 avatar jessejiang0214 commented on August 11, 2024

Hi @lyuboasenov
I downloaded your project in Mac environment, I cannot build with Visual Studio for Mac. I don't have the Windows environment currently, so I cannot do more testings.

From my feeling, it caused by the wrong environment, can you create a project using Xamarin.From project template?

from slideoverkit.

mrmiagi0101 avatar mrmiagi0101 commented on August 11, 2024

I had the same Problem with Forms 2.4 sr1. You have to override the OnTouchEvent of the SlideMenuDroidRenderer. Instead of return base.OnTouchEvent(e), you have to return true. At the moment all seems to run again, but still testing...

from slideoverkit.

jessejiang0214 avatar jessejiang0214 commented on August 11, 2024

Thx @mrmiagi0101 you're right, I fixed this for Xamarin.Forms 2.4

from slideoverkit.

T3zler avatar T3zler commented on August 11, 2024

@jessejiang0214 great news. When will this see a Nuget release?

from slideoverkit.

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.