Giter Club home page Giter Club logo

Comments (7)

bulletbs avatar bulletbs commented on August 16, 2024 2

Strange thing.
In CodeSandBox it's works fine https://codesandbox.io/s/n9x732zyrj
But when I put this component in my application - problem is still there.

Can you make a reduced test case? this debugging template will help as a starting point:
https://codesandbox.io/s/8xyz32l0r8

https://fullcalendar.io/reduced-test-cases

Ok, I'll try to.

from fullcalendar-vue.

Bijan-mp avatar Bijan-mp commented on August 16, 2024 1

I have the same problem, drag-drop does not work on Vue fullcalender.
Please tell me what am I to do?

from fullcalendar-vue.

yujin1st avatar yujin1st commented on August 16, 2024 1

In my case was simple answer:
Set new Draggable (document.getElementById('planned-tasks')) AFTER you load data, not in mounted or created

from fullcalendar-vue.

arshaw avatar arshaw commented on August 16, 2024

Can you make a reduced test case? this debugging template will help as a starting point:
https://codesandbox.io/s/8xyz32l0r8

https://fullcalendar.io/reduced-test-cases

from fullcalendar-vue.

laurensiusadi avatar laurensiusadi commented on August 16, 2024

@arshaw using the codesandbox, I try dragging the only event there, but it doesn't move. Is there anything need to be enabled to make event drag works?

EDIT: I need to set editable props to true to enable drag and drop.
This list of props and events helps me https://github.com/fullcalendar/fullcalendar-vue/blob/master/src/fullcalendar-options.js

There's droppable and dropAccept. Maybe that will help with @bulletbs case?

from fullcalendar-vue.

Damanii avatar Damanii commented on August 16, 2024

Same issue with me currently. I updated to
@fullcalendar/[email protected]
@fullcalendar/[email protected]
@fullcalendar/[email protected]
though and it seems to be working now. Dragging, dropping, resizing.

from fullcalendar-vue.

bob-rietveld avatar bob-rietveld commented on August 16, 2024

Hi, I have the issue that the drag only works on the "timelineDay" view.

The events on the timeGridWeek or timeGridDay view do not get rendered properly . (or not at all) after dropping. Also the events are not editable or dragable after dropping. If I drop an event on the timelineDay view, it does get renderen in the TimeGridWeek view, but below the normal calendar (see image)

Screenshot 2019-11-12 at 10 16 55

I created an test case here: https://codesandbox.io/s/vue-template-er5p0

I am using
"@fullcalendar/core": "^4.3.1", "@fullcalendar/daygrid": "^4.3.0", "@fullcalendar/interaction": "^4.3.0", "@fullcalendar/timegrid": "^4.3.0", "@fullcalendar/timeline": "^4.3.0", "@fullcalendar/vue": "^4.3.1"

Thanks

UPDATE

My mistake I forgot to include all necessary css files. Everything is working as it should now.

import "@fullcalendar/core/main.css"; import "@fullcalendar/daygrid/main.css"; import "@fullcalendar/timeline/main.css"; import "@fullcalendar/timegrid/main.css";

from fullcalendar-vue.

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.