-
-
Notifications
You must be signed in to change notification settings - Fork 922
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Modal close button is not showing after build #960
Comments
Check if the HTML DOM element exists? If it exists, check if the font file corresponding to iconfont is loaded? |
here is the screenshot of my build application
[image: image.png]
you can see that icons are missing.
…On Tue, 14 Apr 2020 at 07:10, Simon Guo ***@***.***> wrote:
Check if the HTML DOM element exists? If it exists, check if the font file
corresponding to iconfont is loaded?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#960 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/AEKG2M72WYUBKEKCZJ5ECEDRMO5IVANCNFSM4MG77Z3Q>
.
|
You can try to deploy the font file locally. How to configure font files locally?The icon font files used in rsuite are deployed in jsDelivr CDN, @icon-font-path: './fonts'; In addition, you will also need to configure {
test: /\.(woff|woff2|eot|ttf|svg)($|\?)/,
use: [
{
loader: 'url-loader',
options: {
limit: 1,
size: 16,
hash: 'sha512',
digest: 'hex',
name: '[hash].[ext]',
publicPath: '/'
}
}
]
} |
Hi @gobinda168, I'm closing this issue as it seems to have been resolved. Feel free to re-open if it's actually not. |
Versions
react
X.Y.Z
rsuite
X.Y.Z
What is the expected behavior?
In Modal header, close button icon is not showing after build but it was visible is localhost
What is the current behavior?
What are the steps to reproduce?
Any additional comments? (optional)
The text was updated successfully, but these errors were encountered: