Giter Site home page Giter Site logo

Comments (10)

daybrush avatar daybrush commented on August 20, 2024 1

@ozsirma

Let me investigate. I'll probably make it possible through a method.

from selecto.

ozsirma avatar ozsirma commented on August 20, 2024

Is there any progress on the feature ?

from selecto.

daybrush avatar daybrush commented on August 20, 2024

@ozsirma

I couldn't manage because I was driven by a schedule. Now start working.

from selecto.

daybrush avatar daybrush commented on August 20, 2024

@ozsirma

  • selecto 1.7.2
  • react-selecto 1.7.2
  • preact-selecto 1.6.2
  • ngx-selecto 1.7.2
  • lit-selecto 1.7.2
  • vue-selecto 1.7.2
  • svelte-selecto 1.7.2

selecto new version is released. Check it again. Use findSelectableTargets method

from selecto.

ozsirma avatar ozsirma commented on August 20, 2024

Hi @daybrush
findSelectableTargets is called in onDragStart. Could there be a mistake here ?

from selecto.

daybrush avatar daybrush commented on August 20, 2024

@ozsirma

you can use findSelectableTargets in onDrag

from selecto.

ozsirma avatar ozsirma commented on August 20, 2024

@ozsirma

you can use findSelectableTargets in onDrag

How I can use findSelectableTargets during in onDrag for react-selecto ? Can you give me an example ?

from selecto.

mcunningham avatar mcunningham commented on August 20, 2024

@ozsirma I am also interested in using react-selecto with react window or another windowing technique. Did you find a solution for this?

from selecto.

ozsirma avatar ozsirma commented on August 20, 2024

@mcunningham I could not find any technique. As a workaround, after onDragEnd I calculate the unselected fields and mark them as selected.

from selecto.

daybrush avatar daybrush commented on August 20, 2024

@ozsirma @mcunningham

onDrag={(e) => {
    // re find selectable targets during dragging.
    selecto.findSelectableTargets();
}}

from selecto.

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.