Skip to content

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

Description

@hafiidz

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions