Comments (5)
and if prefixCls='mydrawer'
is .drawer-open .drawer-handle
not working. it is not changing to .mydrawer-open .mydrawer-handle
when drawer is opened.
from drawer.
I did find how to change the code of the component to parameter prefixCls effect on the "Burger". I took as a basis the default code of this element and added prefixCls. Maybe I did it wrong so the code doesn't show up to not distort your thoughts.
from drawer.
But if you do not have time and desire to do this here is the code to control and add to the component.
var _props3 = _this3.props, className = _props3.className, prefixCls = _props3.prefixCls, style = _props3.style, placement = _props3.placement, children = _props3.children,
the beginning of change
handler = React.createElement( 'div', { className: prefixCls + '-handle' }, React.createElement('i', { className: prefixCls + '-handle-icon' }) ),
the ending of change
showMask = _props3.showMask, maskStyle = _props3.maskStyle;
from drawer.
from drawer.
But the issue 37 describes another problem. 37 issue describes is no action and this does not change the appearance of the item
from drawer.
Related Issues (20)
- Next.JS server side: Expected server HTML to caontain a matching <div> in <div>
- undefined is not an object (evaluating 'n.startPos.x')
- node_modules/rc-drawer/lib/DrawerWrapper.d.ts(2,13): '=' expected. TS1005 HOT 2
- Make possible to reset drawer scroll position when closed
- Background color for drawer
- Consider the toolbar
- Can't set data-testid on drawer HOT 5
- Demo is out of date
- How do I make the main content slide to the side as well as the drawer?
- 安卓微信内置浏览器内无效 HOT 4
- if `mask` be set as `false`, drawer should not lock body?
- After closing the drawer, the focus of the page disappears making accessibility disappear and I can't use the tab button to move around the page HOT 1
- 6.1.4 版本设置 destroyOnClose 为true后,重新打开,弹窗里的内容没有渲染
- Package.json - wrong licence definition HOT 1
- Bug: ClassName prop is not merged correctly
- Bug: Css is broken on latest major release
- this package license is showing as none in NPM repository
- Bug: getContainer设置指定dom元素后依然是全屏 HOT 2
- Bug: panelRef 似乎获取不到 dom 元素 HOT 6
- Placement top or bottom does not work
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from drawer.