GithubHelp home page GithubHelp logo

Comments (3)

pandulapeter avatar pandulapeter commented on May 27, 2024 1

Hi! Thanks for the feedback, glad you like it :)

  1. Bug! If you set isEnabled = false before the first Activity was created, indeed it didn't work. I've just released a fix, try it with version 1.2.1, it should be fine now.
  2. Something fishy is going on with Buttons indeed... Take a look at the example app, there they are working. You can customize them by adding a materialButtonStyle (for Material theme) or a buttonStyle (AppCompat) attribute to your theme but I also found apps where this didn't work as expected. If they look really bad, my suggestion would be to set shouldUseItemsInsteadOfButtons = true in your Appearance object until I manage to come up with a fix.

from beagle.

pandulapeter avatar pandulapeter commented on May 27, 2024 1

Can't really reproduce your issue. All Beagle.isEnabled does is to lock the DrawerLayout so if it is false, you have no way of opening the drawer. I tried adding a Toggle widget like this:

Trick.Toggle( title = "Enable Beagle", initialValue = Beagle.isEnabled, onValueChanged = { Beagle.isEnabled = it } )

By default the switch will be checked. The moment I uncheck it the drawer will be closed and there is no way to open it agan. Am I missing something?

from beagle.

Bajranghudda1 avatar Bajranghudda1 commented on May 27, 2024

Can't we disable it from a drawer just by using our Trick.Tuggle()?
I used this in a fragment but still not able to disable it

from beagle.

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.