Comments (6)
Hi,
I've fixed this issue, by adding the following in FilterableListView.java
//If this child view is already added to the parent rootView, then remove it first
ViewGroup parent = (ViewGroup) FilterableListView.this.getParent();
if (parent != null) {
parent.removeView(FilterableListView.this);
}
I added this before this
// add view
rootView.addView(FilterableListView.this, layoutParams);
I think you got the problem.
But this issue is not always happening. Cannot reproduce always.
I made a PR. Please check. :)
BR
Emil
from materialchipsinput.
+1 for this!
from materialchipsinput.
@emilmarkose How do you edit Library files?
from materialchipsinput.
Hi @FajarKhan,
You can't edit library files. You have to download the entire library into your project. Then only you can modify the source code.
from materialchipsinput.
I've had several users his this in a production app. Is there a known work around that doesn't involve modify the library source?
from materialchipsinput.
i have added the fix in the library , but it is reproducing the same issue again and again
from materialchipsinput.
Related Issues (20)
- Add chip manually when enter is pressed on keyboard HOT 3
- Could not resolve com.github.pchmn:MaterialChipsInput:1.0.8 HOT 4
- Disable Cusror
- setOnFocusChangeListener not triggering
- Filtering
- Increasing ChipInput height not work
- Preselecting chips
- It's possible change hint font family? HOT 1
- AndroidX Compatibility HOT 1
- ScrollView can host only one direct child at com.pchmn.materialchips.views.FilterableListView$1.onGlobalLayout(FilterableListView.java:94)
- List suggest cannot open when i type some word
- how to change the direction of the list
- Some suggestions
- add max chips HOT 1
- Search doesnt work in AlertDialog
- White pixels at left right sides of chip at dark backgrounds HOT 1
- Set selected items programmatically.
- Latest version (v1.0.8) is getting an error in Jitpack HOT 2
- Failed to resolve com.beloo.widget:ChipsLayoutManager dependency HOT 4
- Typo error
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from materialchipsinput.