Coder Social home page Coder Social logo

Comments (7)

sjwall avatar sjwall commented on May 22, 2024

I shall investigate and see what I can do to fix it

from materialtaptargetprompt.

sjwall avatar sjwall commented on May 22, 2024

This should be fixed in release v1.6.1. Please let me know how you get on with it :)

from materialtaptargetprompt.

chinmoyeedash avatar chinmoyeedash commented on May 22, 2024

Nope.. 1.6.1 also didn't help

from materialtaptargetprompt.

sjwall avatar sjwall commented on May 22, 2024

Could you please provide more detail on the following so that I can try and replicate it better:

  • How you are targeting the actionmode setTarget(View)?
  • What actionmode you are using: Android, support library or custom?
  • How are you creating the actionmode?
  • What version of Android?

Thanks

from materialtaptargetprompt.

chinmoyeedash avatar chinmoyeedash commented on May 22, 2024
  • Setting target by --- setTarget(findViewById(R.id.menu_next))

  • using action mode - support library-v7

  • creating actionmode on listview selections
    if (hasCheckedElement && mode == null)
    // there are some selected items, start the actionMode
    mode = startSupportActionMode(new ModeCallback());

  • Tested it on my Android 5.0 and 4.2.2

from materialtaptargetprompt.

sjwall avatar sjwall commented on May 22, 2024

I have changed the example to use findViewById but I am still unable to replicate.
You could try wrapping the prompt creation in a post like below. The support ActionMode uses this as well. If the post fixes the issue for you I will add it into the library (I need to do some more research but I think it should be doing this anyway).

getWindow().getDecorView().post(new Runnable() {
    @Override
    public void run() {
        // Create prompt here
    }
});

You could also try running the sample app (cloning or from the play store) and seeing if that has the issue and if it has any differences to your implementation.

Let me know if this helps

from materialtaptargetprompt.

sjwall avatar sjwall commented on May 22, 2024

No response for a month so assuming that your question has been answered. Please reopen if not

from materialtaptargetprompt.

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.