Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Why can I just click and drag it over? #378

Open
xuepengdong opened this issue May 7, 2023 · 0 comments
Open

Why can I just click and drag it over? #378

xuepengdong opened this issue May 7, 2023 · 0 comments

Comments

@xuepengdong
Copy link

Click on the dragged area to drag it over. Dragging without clicking does not work. Could you please ask the author why?

          <div v-if="questionInfo.eqType == 8" :style="'margin-top:20px;position: relative;height:'+questionInfo.eqOption.length*100+'px'" >
            <vue-draggable-resizable v-for="(eqOptionOne,eqOptionIndex) in questionInfo.eqOption" :key="eqOptionIndex"
                                     :x="questionInfo.cssSet.cssType==1?(eqOptionIndex%2)*400:0" :y="questionInfo.cssSet.cssType==1?parseInt(eqOptionIndex/2)*100:parseInt(eqOptionIndex)*100"
                                     :w="questionInfo.cssSet.cssType==1?400:600" :h='wtfH'
                                     :name="'drag_'+eqOptionIndex"
                                     @dragstop=" (left,top,that)=> onDragstop(left,top,that,eqOptionIndex)"
                                     :resizable="true"
            >
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant