Giter Site home page Giter Site logo

Comments (19)

NrmeenTomoum avatar NrmeenTomoum commented on May 22, 2024 3

@andrei0929 @Marolicious @kwongius @ezefranca @kennydust
I added
tableView.reloadData()
in the end of the the function of
public func tableView(_ tableView: UITableView, didSelectRowAt indexPath: IndexPath)
waiting you respond if this helped you or not
it is not the best solution I known but may be help

from expandablecell.

andrei0929 avatar andrei0929 commented on May 22, 2024

I have the same issue. When scrolling, the expanded cells randomly disappear
image uploaded from ios

from expandablecell.

NrmeenTomoum avatar NrmeenTomoum commented on May 22, 2024

@younatics I have same problem

from expandablecell.

NrmeenTomoum avatar NrmeenTomoum commented on May 22, 2024

@Marolicious @andrei0929 @kwongius @ezefranca @kennydust waiting your respond

from expandablecell.

andrei0929 avatar andrei0929 commented on May 22, 2024

@NrmeenTomoum Although I wasn't implementing the didSelectRowAt indexPath method, I called reloadData in the method but it didn't help me

from expandablecell.

NrmeenTomoum avatar NrmeenTomoum commented on May 22, 2024

are you added tableView.reloadData() at the End of didSelectRowAt func in ExpandableTableView.swift File created by @younatics ? @andrei0929

from expandablecell.

shakenovdev avatar shakenovdev commented on May 22, 2024

@NrmeenTomoum @andrei0929 I have same problem. Did you find any solution other than tableView.reloadData()?
edited: It happens when I work with data that can't fit in single screen

from expandablecell.

NrmeenTomoum avatar NrmeenTomoum commented on May 22, 2024

@damir18yo I didn't do any think more than added tableView.reloadData() at the End of didSelectRowAt func in ExpandableTableView.swift File created by @younatics after that disappeared cell problem appears from scrolling disappeared .

from expandablecell.

shakenovdev avatar shakenovdev commented on May 22, 2024

@NrmeenTomoum I tried your solution but animation becomes very weird

from expandablecell.

NrmeenTomoum avatar NrmeenTomoum commented on May 22, 2024

try to made animation of table . middle @damir18yo

from expandablecell.

akominch avatar akominch commented on May 22, 2024

Faced the same problem. Maybe someone knows a good solution to this problem?

@NrmeenTomoum Your advice works, but because of it the animation of opening and closing cells does not work normally.

from expandablecell.

Sunnymous avatar Sunnymous commented on May 22, 2024

Facing the same problem.
@NrmeenTomoum 's trick works, but it makes the animation weird and it requires editing the library's file which is not acceptable for many cases.
I'll try to contribute if I find out the solution to this, but is this project deserted?

Update#1:
I tried and I'll still try, but I don't think I can find a solution to this without editing the library file.
This is a serious problem and this library is no good with it. The bug happens way too often to just ignore.
To anyone trying to use this library: might want to wait for this bug to be fixed. Otherwise, don't waste your time.
Update#2:
I'm now able to use the newest version 1.2.2, but the problem still remains in the newest version.

from expandablecell.

FaridHaddad avatar FaridHaddad commented on May 22, 2024

This is happening to me too. Did anyone solve this problem ?

from expandablecell.

Sunnymous avatar Sunnymous commented on May 22, 2024

@FaridHaddad Nope. I'll try to, but I don't think I can. Finding a new library would be better.

from expandablecell.

superhard avatar superhard commented on May 22, 2024

Which library can be a good alternative?

from expandablecell.

Sunnymous avatar Sunnymous commented on May 22, 2024

@superhard Well, this still is ExpandableCell's thread, so I can't discuss other libraries here.

from expandablecell.

jonasrotilli avatar jonasrotilli commented on May 22, 2024

Multiple reports and no definitive solution to the problem?

from expandablecell.

jonasrotilli avatar jonasrotilli commented on May 22, 2024

In addition, in the example application itself of this git the problem happens: expands all and goes opening and closing, and fiddling with scrool.
You will see that they add up other unrelated items.

from expandablecell.

AhmedAmineZribi avatar AhmedAmineZribi commented on May 22, 2024

any one have found solution for this issue ??

from expandablecell.

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.