Skip to content

Tab emits strange character? #4068

@lucasgodshalk

Description

@lucasgodshalk

Problem Description

I have a simple tab control that is emitting a  character with no obvious reason why. The character disappears depending on what kind of content is in the tab. Adding multiple tabs causes the character to be carried with the highlighter for which tab is selected. I'm using babel to transpile, but the output seems harmless.

app.jsx:

import React from "react";
import ReactDOM from "react-dom";

import injectTapEventPlugin from 'react-tap-event-plugin';
injectTapEventPlugin();

import Tabs from 'material-ui/lib/tabs/tabs';
import Tab from 'material-ui/lib/tabs/tab';

var temp = (
    <Tabs>
        <Tab label="test">
            <p>Hello world</p>
        </Tab>
    </Tabs>
);

ReactDOM.render(temp, document.getElementById("app"));

untitled

I've included the output html as well, you can see the character getting inserted with a div:
output.txt

Versions

  • Material-UI: 0.14.4
  • React: 0.14.7
  • Browser: Latest chrome & firefox

Metadata

Metadata

Assignees

No one assigned

    Labels

    scope: tabsChanges related to the tabs.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions