Coder Social home page Coder Social logo

Comments (3)

jlindenbaum avatar jlindenbaum commented on June 27, 2024

For anyone else with issues of having a ChipsView inside a ScrollView the issue with the removal of the chips was not being triggered properly due to the ScrollView consistently giving focus back to the EditText within the ChipsView, this would mark all chips as unselected (bot not update the UI to reflect that).

This SO worked for me, ensuring the surrounding ScrollView does not give focus back to the EditText unless a user explicitly taps it. http://stackoverflow.com/questions/5375838/scrollview-disable-focus-move

from android-material-chips.

myacxy avatar myacxy commented on June 27, 2024

Hey @jlindenbaum,
thanks for your feedback. Due to your suggestions we decided to make the ChipsView itself a ScrollView. Therefore you should consider that you do not need to wrap it in your own ScrollView anymore after you upgrade to the new version and use app:cv_max_height="${dimension}" instead.

from android-material-chips.

LTroya avatar LTroya commented on June 27, 2024

Is there a way to disable the scroll? I have two chipViews and I only want to add chips for the second one while the first one only has one not editable chip

In the meantime, I disabled with this http://stackoverflow.com/questions/18893198/how-to-disable-and-enable-the-scrolling-on-android-scrollview

from android-material-chips.

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.