Skip to content

How to add horizontal scrollbar? #13

@sk1e

Description

@sk1e

Does direction param 'h' stand for horizontal scrolling?

With the following code:

  <div style={{ width: 500, height: 100 }}>
    <Baron params={{ direction: 'h' }}>
      <div style={{ width: 2000, height: 2000, background: 'green' }}>
        hello
      </div>
    </Baron>
  </div>

I don't get any scrollbar. With direction value as 'v' I can see a vertical scrollbar.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions