Giter VIP home page Giter VIP logo

Comments (10)

gouen95 avatar gouen95 commented on May 16, 2024 12

Hi, I think I found the problem. Try to return TRUE to shouldHighlightRow delegate of ExpandableTableView.

from expandablecell.

ashleighxi avatar ashleighxi commented on May 16, 2024 1

@gouen95 your solution worked for me. i would recommend you guys trying this @Spark3000 and @Sunnymous

from expandablecell.

kublaios avatar kublaios commented on May 16, 2024 1

Sorry about flooding but if you want to prevent highlight effect and also work this problem around, just do as @gouen95 says and then set cell.selectionStyle = .none in your func expandableTableView(_ expandableTableView: ExpandableTableView, cellForRowAt indexPath: IndexPath) -> UITableViewCell method.

from expandablecell.

gouen95 avatar gouen95 commented on May 16, 2024

I am facing the same problem too. I've tried to register a tapgesture to the particular tableviewcell and assign the tableviewcell's tag as the indexPath.row. After that I tried to use open(indexPath(row: sender.view.tag, section: 0)), it works but it is faulty for me because the data isn't displaying correctly and sometimes disappearing..

from expandablecell.

seanonthenet avatar seanonthenet commented on May 16, 2024

I had this also. Went back a version.

from expandablecell.

Sunnymous avatar Sunnymous commented on May 16, 2024

I faced the same problem. Solved it by going back to ver 1.2.0.
Going back to 1.2.1 doesn't work.

from expandablecell.

Sunnymous avatar Sunnymous commented on May 16, 2024

@huntergray11 Thanks. Now I can use the newest version of this library.
But because of other serious defect, I don't think I can use this library.
The problem still remains in the newest version(1.2.2)
If anyone's interested, please check issue #23

from expandablecell.

kublaios avatar kublaios commented on May 16, 2024

Returning true from shouldHighlightRowAt method worked for me as well but that also means I can't have rows expandable without the highlight effect. Is this a bug or an expected behavior?

from expandablecell.

Rdxer avatar Rdxer commented on May 16, 2024

重用有问题, 已经在使用 cell 会被强制回收,
Reuse has a problem, has been in the use of the cell will be compulsory recycling,

from expandablecell.

Rdxer avatar Rdxer commented on May 16, 2024

wx20180914-144916 2x

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.