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

Positionable not working for local file #12

Open
ecations opened this issue Sep 15, 2020 · 1 comment
Open

Positionable not working for local file #12

ecations opened this issue Sep 15, 2020 · 1 comment

Comments

@ecations
Copy link

Hi!

I could get Positionable to show up for sites that are online. But it doesn't react to my mouse at all when I have a local html file. I made this really simple test and Positionable is not loading when clicked for this page:

<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
<style>
        #container { position: relative; }
        .square{position: absolute; width: 200px; height: 200px; background-color: blueviolet;}
    </style>
</head>
<body>
<div id="container">
    <div class="square">Hello</div>
</div>
</body>
</html>
@andrewplummer
Copy link
Owner

Chrome disables access to local files by default. You have to go to chrome://extensions and enable "Allow access to file URLs" ... I'll keep this issue open for now as a reminder to make this clearer in the readme though, thanks!

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

2 participants