Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"type": "patch",
"comment": "Fix mention popover content view is not wrapped up in the scroll view when the list is long",
"packageName": "@azure/communication-react",
"email": "107075081+Leah-Xia-Microsoft@users.noreply.github.com",
"dependentChangeType": "patch"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"type": "patch",
"comment": "Fix mention popover content view is not wrapped up in the scroll view when the list is long",
"packageName": "@azure/communication-react",
"email": "107075081+Leah-Xia-Microsoft@users.noreply.github.com",
"dependentChangeType": "patch"
}
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,8 @@ export const suggestionListContainerStyle = mergeStyles({
*/
export const suggestionListStyle = mergeStyles({
padding: '0.25rem 0rem 0',
overflow: 'visible'
overflow: 'visible',
overflowY: 'scroll'
});

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,50 @@ const suggestions: Mention[] = [
id: '4',
displayText: 'Your user'
},
{
id: '5',
displayText: 'Milton Dyer'
},
{
id: '6',
displayText: 'Ella Stewart'
},
{
id: '7',
displayText: 'Todd Nelson'
},
{
id: '8',
displayText: 'Bertie Holman'
},
{
id: '9',
displayText: 'Chloe Alvarez'
},
{
id: '10',
displayText: 'Hannah Gibson'
},
{
id: '11',
displayText: "Amelia O'Connor"
},
{
id: '12',
displayText: "Amelia O'Connor"
},
{
id: '13',
displayText: 'Imogen Morris'
},
{
id: '14',
displayText: 'Freya Hayes'
},
{
id: '15',
displayText: 'Ellie Collins'
},
{
id: 'everyone',
displayText: 'Everyone'
Expand All @@ -37,7 +81,7 @@ export const MentionsExample: () => JSX.Element = () => {

return (
<FluentThemeProvider>
<div style={{ width: '31.25rem', marginTop: '12rem' }}>
<div style={{ width: '31.25rem', marginTop: '15rem' }}>
<SendBox
onSendMessage={async (message) => {
timeoutRef.current = setTimeout(() => {
Expand Down