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

Small UX/UI Behavior (console.log in main.js) #174

Open
hafiidz opened this issue Sep 26, 2022 · 0 comments
Open

Small UX/UI Behavior (console.log in main.js) #174

hafiidz opened this issue Sep 26, 2022 · 0 comments

Comments

@hafiidz
Copy link

hafiidz commented Sep 26, 2022

Describe the bug

There is a console.log in two lines, distracting for development flow when it doesn't seems to be necessary. I can raise a PR but not sure if this is intended? Maybe I missed setting up the logging behavior during initialization? Couldn't find it in configuration though.

Also, sidenote, it seems to be logging across different Vue pages/layout/view. Not sure if there is a better way to constraints to specific location only.

js/main.js

Line 875  console.log('handing copy')

Line 1023  console.log('event.target !== document.body', event.target, document.body);

Painterro version
E.g. v1.0.2

To Reproduce
Steps to reproduce the behavior:

  1. Be in development mode while using this library
  2. Click anywhere on body
  3. Console.log will appear (picture as below)

Expected behavior
No console.log event (especially in other pages/layout/view).

Screenshots

image

Browser

  • e.g. Google Chrome on Windows
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants