22,695 questions
0
votes
0
answers
20
views
Android Side Sheet Dialog Dismiss on Content View Click
Side Sheet Dialog Layout:
<androidx.constraintlayout.widget.ConstraintLayout
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/...
0
votes
0
answers
61
views
Transparency with Jetpack Compose Cards
I'd like to display a Card with a transparency of 0.5. However, that suddenly shows a rectangle in the middle of the card.
Left without transparency, right with 0.1f.
The code is really simple:
@...
-1
votes
0
answers
21
views
How does MUI keep its build size small? Do they externalize most dependencies? [closed]
I’m trying to understand how Material UI keeps its build size low.
Do they externalize most of their dependencies (other than peer deps), or use some other strategy?
I’ve seen Babel helpers imported ...
-3
votes
0
answers
42
views
Exception when using MUI with rspack: _emotion_styled__rspack_import_0 is not a function
When using rspack with typescript and Material UI (MUI) with React to run in development mode, the following error is thrown:
_emotion_styled__rspack_import_0 is not a function TypeError: ...
Advice
0
votes
0
replies
62
views
css/react/mui border radius like
Graphic designer designed this component that should display forms and messages like an auth form...
I'm a bit confused on how should I code the top right border... I thought a simple border-radius ...
-1
votes
0
answers
36
views
MUI X-date-pickers output and none visible redundant characters
I'm using "@mui/x-date-pickers": "^8.19.0" and @mui/material": "^7.3.4" in a "next": "15.5.6" application with "react-dom": "19.2....
0
votes
2
answers
55
views
Define custom CSS variables in MUI for both light and dark mode
This is my theme config in my MUI app:
import { createTheme } from '@mui/material/styles';
declare module '@mui/material/styles' {
interface Theme {
myVariable: string;
}
interface ...
0
votes
1
answer
42
views
Simple Mui TextField crashing in RTL locale
My application is there for a long time and everything works perfectly in both the locales we support en and ar.
So I don't think there is any issue with the localization setup.
But now for a simple ...
1
vote
1
answer
55
views
Material UI TimePicker not auto-selecting initial value when using renderDigitalClockTimeView
I'm using MUI v6 Time Pickers and I'm trying to use renderDigitalClockTimeView as the viewRenderer for my time picker component.
I set an initial value, and it correctly shows up in the input field. ...
0
votes
1
answer
122
views
Edit the date using the text field while opening the calendar popup
Currently, I'm using @mui/x-date-pickers v7 to display a calendar. My requirement is to keep the calendar open while changing the date using the text field.
Current behavior: When clicking the text ...
0
votes
0
answers
31
views
How to disable certain options in a MultiChoiceItems MaterialAlertDialog
Im having trouble disabling certain options in a MaterialAlertDialog when using MultiChoiceItems.
The problem that I am having is that I can get them to appear to be disabled, yet they still work ...
1
vote
0
answers
82
views
Why can't I select an option in an Autocomplete MUI component when testing?
I am building a React application. In one of my components, the first thing that appears is a dialog where you have to select an option from an autocomplete component. This is mandatory for the ...
0
votes
0
answers
78
views
Safari browser translation resets input cursor
I'm working on a React.js app with MaterialUI for the components. I'm having a problem with Safari browser (although it may happen on Firefox too. It works fine on Chrome tho). When Safari automatic ...
2
votes
1
answer
70
views
How to control height/size of the each dropdown on mat-option using system tokens - md3/angular20
I've been using newest Angular Material in Angular 20.
Trying to control stuff using mat.*-overrides but I can't find the option to change height of each mat-option inside of the form-field inside the ...
2
votes
2
answers
171
views
new TypeError("Wrong module specifier", "") with react import
I would like to import a simple mui component.
My component:
import Button from "@mui/material/Button";
export default function Bar() {
return <Button variant="contained">...