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

The coordinate and width doesnt fix on fullscreen mode #385

Open
apeengggg opened this issue Dec 22, 2023 · 0 comments
Open

The coordinate and width doesnt fix on fullscreen mode #385

apeengggg opened this issue Dec 22, 2023 · 0 comments

Comments

@apeengggg
Copy link

apeengggg commented Dec 22, 2023

how to make the object draggable is fixed when i fullscreen the monitor with F11 ?
My need is to display images without scrolling right/left or up/down, like the image I have attached when I go fullscreen then the objects move and don't stay fixed.

On Normal Tab Mode :
no fullscreen

On Fullscreen Tab Mode :
on full screen

<div class="row no-gutters" v-if="image_from_db">
            <div class="col-12 border border-dashed" style="border-color: red; background-color: rgba(255,255,255,0.5);"
              v-for="(im, indexIm) in images" :key="indexIm">
                <draggable-resizable-vue
                    :parent="false"
                    v-for="(item, index) in im.area"
                    :class="colorFill(item, false)" 
                    v-model:x="item.COOR_X"
                    v-model:y="item.COOR_Y" 
                    v-model:h="item.HEIGHT" 
                    v-model:w="item.WIDTH" 
                    v-on:click="onSelectArea(index, indexIm, item)"
                    handles-type="borders" 
                    style="cursor: pointer"
                    @resizestop="onResizing"
                    :draggable="false"
                    :resizable="false"
                >
                </draggable-resizable-vue>
                <img :src="'data:image/jpeg;base64,'+im.IMG_CONTENT" class="side-image-db mt-1">
            </div>
          </div>
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