box / box/box-ui-elements-demo
Not getting desired view in contentpicker
- Dominant language
- JavaScript
- Stars
- 16
- Forks
- 12
- PR merge metrics
- No merged PRs in 30d
Description
i have included the necessary packages in my react project , but when i try to render the folder picker , i am getting a bizzare view , network call to fetch the folder listing is successfull however but seems doesnt getting populated in the html div it seems
Link to application or sample code:
Screenshots

`import React from 'react';
import { ContentPicker } from 'box-ui-elements';
import messages from 'box-ui-elements/i18n/en-US';
import 'box-ui-elements/dist/picker.css';
export default class FolderSelectionView extends React.Component{
constructor(props){
super(props);
}
onselect = (event)=>{
const folderId = event[0].id;
this.props.appStore.setFolderId(folderId);
console.log(this.props.appStore.fetchfolderID);
}
render(){
return (
)
}
}`
Contributor guide
No contributing guide indexed for this repository
Research direction
Start with the FolderSelectionView component in the issue and the imported box-ui-elements/dist/picker.css stylesheet. Reproduce the ContentPicker rendering with the shown props, then inspect the HTML after the successful folder-listing request. Done means the folder listing appears correctly in the picker rather than only the reported malformed view.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript, react
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 30/100