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
Expand Up @@ -126,7 +126,7 @@ export const ChatbotMessageBarDefaultAttachExample: React.FunctionComponent = ()
return (
<>
{/* this is required for react-dropzone to work in Safari and Firefox */}
<input {...getInputProps()} />
<input {...getInputProps()} hidden />
<MessageBar
onSendMessage={handleSend}
attachMenuProps={{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -209,7 +209,7 @@ export const AttachmentMenuDemo: React.FunctionComponent = () => {
return (
<>
{/* this is required for react-dropzone to work in Safari and Firefox */}
<input {...getInputProps()} />
<input {...getInputProps()} hidden />
<ChatbotToggle
tooltipLabel="Chatbot"
isChatbotVisible={chatbotVisible}
Expand Down
2 changes: 1 addition & 1 deletion packages/module/src/MessageBar/AttachButton.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ const AttachButtonBase: React.FunctionComponent<AttachButtonProps> = ({
return (
<>
{/* this is required for react-dropzone to work in Safari and Firefox */}
<input data-testid={inputTestId} {...getInputProps()} />
<input data-testid={inputTestId} {...getInputProps()} hidden />
<Tooltip
id="pf-chatbot__tooltip--attach"
content={tooltipContent}
Expand Down
Loading