GithubHelp home page GithubHelp logo

Comments (13)

sumeetbajra avatar sumeetbajra commented on August 15, 2024 1

Thanks. It was helpful though. Do you know what might be causing the issue in Firefox? I am trying to implement something similar as well.

from blog-comments.

crimx avatar crimx commented on August 15, 2024 1

Everything is in this post. If you need source code of the demo just view source of this page.

from blog-comments.

crimx avatar crimx commented on August 15, 2024 1

Yes, and it works in mobile now.

from blog-comments.

crimx avatar crimx commented on August 15, 2024 1

6.0 device is just too slow for this type of iframe commucation. I would recommend using an translucent mask on parent window for calculation. Haven't got the time to write a post on this trick.

from blog-comments.

sumeetbajra avatar sumeetbajra commented on August 15, 2024

It is not smooth at all in Firefox.

from blog-comments.

crimx avatar crimx commented on August 15, 2024

@sumeetbajra I would recommend using a translucent layer to track mousemove instead. Maybe another post when I have time.

from blog-comments.

crimx avatar crimx commented on August 15, 2024

Not sure. Possibly because Firefox is too slow on handling iframe messages.

from blog-comments.

Cappuuuu avatar Cappuuuu commented on August 15, 2024

Excuse me , Can u give me the source code ? Thanks !

from blog-comments.

Cappuuuu avatar Cappuuuu commented on August 15, 2024

thanks , can it also works on moible device with touchstart event ?
i thinks all mouse event change to touch events XDD
ex. mousedown ---> touchstart

from blog-comments.

Cappuuuu avatar Cappuuuu commented on August 15, 2024

Hi ~~
I got stuck on the problem in mobile device.
When i touchmove iframe (small round button) , the outer document also scroll ....
Is there any solution can prevent outer document scroll ??

from blog-comments.

crimx avatar crimx commented on August 15, 2024

https://github.com/crimx/blog-2019/blob/49074145db83c496f0b6127b1b1ac58e11c9918a/static/img/post/drag-iframe.html#L44

https://github.com/crimx/blog-2019/blob/49074145db83c496f0b6127b1b1ac58e11c9918a/static/img/post/drag-iframe.html#L52

from blog-comments.

Cappuuuu avatar Cappuuuu commented on August 15, 2024

Hello , i drag button smoothly in my iPhone X ( iOS 14 ) by all kinds brower :))
But on a Android 6.0 device , drag not smooth on all kinds brower ....
Furthermore , i drag normal div tag is Ok on that Android 6.0 device.
So , drag iframe is not support completely on android ?
Do you have any idea ?

from blog-comments.

Mohammad-Khavari avatar Mohammad-Khavari commented on August 15, 2024

Hi I found this project very useful I tried to use it in my project but I could not make it work it seems I have to create 3 different file like selection.js, parent.js and iframe.js and you didnt explain how to use the minifest.json file in the project it is a little bit complicate to get use it in the project by the way I am working with .NET.

from blog-comments.

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.