Skip to content

Brush canvas is not aligned with the rendering canvas in codesandbox #620

@markov00

Description

@markov00

Describe the bug
Brush canvas is not aligned with the rendering canvas in codesandbox

To Reproduce
Steps to reproduce the behavior:

  1. Go to https://codesandbox.io/s/naughty-jennings-pyhpn
  2. Drag to use the brushtool
  3. The brush will start at a wrong position

Expected behaviour
The brush canvas should overlay exactly the rendering canvsa

Screenshots
The cursor is at the left of the green bar
Screenshot 2020-04-06 at 14 57 33

Version (please complete the following information):

  • OS: all
  • Browser: all
  • Elastic Charts: master

Additional context
In Kibana the problem doesn't exist.
Seems related to a missing CSS reset used by EUI

Errors in browser console
n/a

Kibana Cross Issues
n/a

Metadata

Metadata

Assignees

No one assigned

    Labels

    :interactionsInteractions related issue:stylingStyling related issuebugSomething isn't workingreleasedIssue released publicly

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions