Giter VIP home page Giter VIP logo

Comments (14)

younatics avatar younatics commented on May 16, 2024 2

I will check it

from expandablecell.

hadiidbouk avatar hadiidbouk commented on May 16, 2024 1

Sure, when i finish from it 👍

from expandablecell.

seanonthenet avatar seanonthenet commented on May 16, 2024

Please could you let me know if it's a bug with ExpandableCell or with my implementation?

from expandablecell.

seanonthenet avatar seanonthenet commented on May 16, 2024

Really appreciate it. Thank-you!

from expandablecell.

nishaddangui avatar nishaddangui commented on May 16, 2024

same issue here,
tried closing all cells in didSelectRowAt , now error vanished but atleast one cell is left open since there is no deselect method.

from expandablecell.

hadiidbouk avatar hadiidbouk commented on May 16, 2024

The problem is with the index of cells i guess, when you expand a cell the count of cells will changes.

from expandablecell.

seanonthenet avatar seanonthenet commented on May 16, 2024

@hadiidbouk Yes. Not sure how to fix that though.

from expandablecell.

younatics avatar younatics commented on May 16, 2024

Hello @nishaddangui , @hadiidbouk @Spark3000 ,
Could you show me your project file or other demo files so I can check error/bugs?
Thanks!

from expandablecell.

hadiidbouk avatar hadiidbouk commented on May 16, 2024

The fact that i am working on a fork of this project to add the highlight methods, when i press on a cell the highlight will be on a wrong cell when there is a cell open, to fix the problem you can call a function after calling 'open' and 'close' in the ExpandableCell that can refresh the cells count.

from expandablecell.

younatics avatar younatics commented on May 16, 2024

@hadiidbouk Really appreciate if you send me PR :)

from expandablecell.

nishaddangui avatar nishaddangui commented on May 16, 2024

@younatics put closeAll() right before open(indexPath: indexPath, delegate: delegate) in didSelectRow
in your ExtendableTableView class
Kinda works for me

from expandablecell.

ilyarmnzhdn avatar ilyarmnzhdn commented on May 16, 2024

can you solve this issue?

from expandablecell.

pikaboo avatar pikaboo commented on May 16, 2024

I fixed this issue in one of the recent commits

from expandablecell.

tadeha avatar tadeha commented on May 16, 2024

@pikaboo How did you fix this?
Because I have the same problem in didSelectRow function. It's returning a wrong indexPath.

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.