Skip to content

Commit e2754fb

Browse files
committed
release: 3.5.0-mobile-web-1
1 parent 72f52c1 commit e2754fb

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@sendbird/uikit-react",
3-
"version": "3.4.9",
3+
"version": "3.5.0-mobile-web-1",
44
"description": "Sendbird UIKit for React: A feature-rich and customizable chat UI kit with messaging, channel management, and user authentication.",
55
"keywords": [
66
"sendbird",

src/lib/MediaQueryContext.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ const MediaQueryProvider = (props: MediaQueryProviderProps): React.ReactElement
3939
children,
4040
logger,
4141
} = props;
42-
const breakpoint = props?.breakpoint || DEFAULT_MOBILE;
42+
const breakpoint = /iPhone|iPad|iPod|Android/i.test(navigator.userAgent);
4343
const [isMobile, setIsMobile] = useState(false);
4444
useEffect(() => {
4545
const updateSize = () => {

0 commit comments

Comments
 (0)