palantir/blueprint

Tabs: Using expander and resizing window causes indicator to hang behind

Open

#1,035 创建于 2017年4月25日

在 GitHub 查看
 (4 评论) (0 反应) (0 负责人)TypeScript (20,263 star) (2,167 fork)batch import
P3Package: coreType: enhancementhelp wanted

描述

Not sure how much responsiveness you all are designing for but noticed this bug today. Tab indicator seems to be fine when not using the expander.

Bug report

  • Package version(s): Blueprint Core 1.15
  • Browser and OS versions: Chrome 58

Steps to reproduce

  1. Add a Tabs2.Expander to push tabs to the right of your Tabs2 component
  2. Open browser window at half size
  3. Resize browser window to full screen
<Tabs2
          id="PlateAndTableView"
          onChange={this.handleTabChange}
          renderActiveTabPanelOnly={true}
        >
          <h2> Plate Contents </h2>
          <Tabs2.Expander />
          <Tab2 id="plate" title="Plate View" panel={<PlateWellsViewContainer />} />
          <Tab2 id="table" title="Table View" panel={<TablePanel />} />
</Tabs2>

Actual behavior

Expected behavior

贡献者指南