Skip to content

DM-7520: XY plot is not shown after closing one of the catalog tab #175

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Sep 13, 2016

Conversation

loitly
Copy link
Contributor

@loitly loitly commented Sep 13, 2016

https://jira.lsstcorp.org/browse/DM-7520

See ticket for steps to duplicate bug.

  • fixed TabPanel onSelect called after tab has been removed.
    also: minor jsdoc errors and build script updates.

- fixed TabPanel onSelect called after tab has been removed.
also:  minor jsdoc errors and build script updates.
@@ -194,15 +194,18 @@ export class Tab extends Component {
const textStyle = maxTitleWidth ? {float: 'left', width: maxTitleWidth-(removable?14:0)} : {};

return (
<li className={tabClassName} onClick={() => onSelect(id,name)}>
<li className={tabClassName} onClick={() => !this.removed && onSelect(id,name)}>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ah, clicking tab remove button triggered tab selection!

I wonder why it did not create issues for more than 2 tables.

@ejoliet
Copy link
Contributor

ejoliet commented Sep 13, 2016

Works like a charm now. Review completed.

@loitly loitly merged commit 043a8b8 into dev Sep 13, 2016
@loitly loitly deleted the DM-7520_active_table branch September 13, 2016 18:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants